diff --git a/app/javascript/styles/accounts.scss b/app/javascript/styles/accounts.scss index 80b6ec421d..3d5c1a6925 100644 --- a/app/javascript/styles/accounts.scss +++ b/app/javascript/styles/accounts.scss @@ -409,9 +409,9 @@ .display-name { display: block; max-width: 100%; - //overflow: hidden; - //white-space: nowrap; - //text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; cursor: default; strong { diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 8cb7b8618e..41735c7a45 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -779,7 +779,7 @@ .status__info .status__display-name { display: block; max-width: 100%; - padding-right: 25px; + //padding-right: 25px; } .status__info { @@ -1386,6 +1386,15 @@ .display-name__account { font-size: 14px; + display: block; + line-height: 1.1; // reduce the distance from the display name + padding-bottom: 3px; + + // block ellipsis + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .status__relative-time, diff --git a/app/javascript/styles/stream_entries.scss b/app/javascript/styles/stream_entries.scss index 938ec70232..90a43388bf 100644 --- a/app/javascript/styles/stream_entries.scss +++ b/app/javascript/styles/stream_entries.scss @@ -156,9 +156,9 @@ .display-name { display: block; max-width: 100%; - //overflow: hidden; - //white-space: nowrap; - //text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; strong { font-weight: 500;