Skip to content

Commit

Permalink
Fix truncating account header field when it is not a link
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 12, 2023
1 parent aa1f368 commit 576a1d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions layout-multiple-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -2239,9 +2239,9 @@ body.embed .detailed-status__meta .detailed-status__link .icon-retweet,
}

/* Truncate too long links in the profile, like Nostr */
.layout-multiple-columns .account__header__bio .account__header__fields a span {
.layout-multiple-columns .account__header__bio .account__header__fields a {
display: block;
max-width: 200px;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down
4 changes: 2 additions & 2 deletions layout-single-column.css
Original file line number Diff line number Diff line change
Expand Up @@ -2280,9 +2280,9 @@ body.embed .detailed-status__meta .detailed-status__link .icon-retweet,
}

/* Truncate too long links in the profile, like Nostr */
.layout-single-column .account__header__bio .account__header__fields a span {
.layout-single-column .account__header__bio .account__header__fields a {
display: block;
max-width: 200px;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down

0 comments on commit 576a1d3

Please sign in to comment.