aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-10 13:22:36 +0300
committerHenry Jameson <me@hjkos.com>2021-06-10 13:22:36 +0300
commit0260693f5162ea8a73d2b359940781049a1b3e76 (patch)
treef934a0923335249db6b16495466bfc41eeb6d1b4 /src/components/status/status.scss
parent394fd462dc48654ba7743bb9c2ac378f98f75bd4 (diff)
stylistic improvements for single-line mentions
Diffstat (limited to 'src/components/status/status.scss')
-rw-r--r--src/components/status/status.scss22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/components/status/status.scss b/src/components/status/status.scss
index 8f7fb71a..60dd8237 100644
--- a/src/components/status/status.scss
+++ b/src/components/status/status.scss
@@ -155,32 +155,17 @@ $status-margin: 0.75em;
margin-right: 0.2em;
}
- & .heading-mentions-row,
& .heading-reply-row {
position: relative;
align-content: baseline;
font-size: 12px;
- line-height: 18px;
+ line-height: 160%;
max-width: 100%;
display: flex;
flex-wrap: wrap;
align-items: stretch;
}
- .reply-to-and-accountname {
- display: flex;
- height: 18px;
- margin-right: 0.5em;
- max-width: 100%;
-
- .reply-to-link {
- white-space: nowrap;
- word-break: break-word;
- text-overflow: ellipsis;
- overflow-x: hidden;
- }
- }
-
& .reply-to-popover,
& .reply-to-no-popover {
min-width: 0;
@@ -219,6 +204,7 @@ $status-margin: 0.75em;
& .mentions,
& .reply-to {
+ white-space: nowrap;
position: relative;
}
@@ -228,8 +214,8 @@ $status-margin: 0.75em;
white-space: nowrap;
}
- .mentions-separator {
- margin-left: 0.4em;
+ .mentions-line {
+ display: inline-block;
}
.replies {