Skip to content

Commit

Permalink
Fix truncating account header field when it contains not just a link
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 12, 2023
1 parent 236f0ef commit bffa6e7
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 @@ -2243,9 +2243,9 @@ body.embed .detailed-status__meta .detailed-status__link .fa-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 @@ -2255,9 +2255,9 @@ body.embed .detailed-status__meta .detailed-status__link .fa-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 bffa6e7

Please sign in to comment.