diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-08 12:58:28 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-08 12:58:28 +0300 |
| commit | 9ea370033af450c0d5e4650a7c10f0e1ffec911c (patch) | |
| tree | a23f0aa79bf50f4e6d7dca8aac2116caa221b97b /src/components/mention_link/mention_link.scss | |
| parent | 3abd357694c29c84d213d7d2a7a954ab2a591da0 (diff) | |
configurable mentions placement
Diffstat (limited to 'src/components/mention_link/mention_link.scss')
| -rw-r--r-- | src/components/mention_link/mention_link.scss | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index dec11014..261aeaef 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -3,6 +3,7 @@ white-space: normal; display: inline-block; color: var(--link); + margin-right: 0.25em; & .new, & .original { @@ -33,23 +34,25 @@ & .short, & .full { &::before { - color: var(--faint); content: '@'; } } .new { - &.-firstMention { - display: none; + &.-you { + & .shortName, + & .full { + font-weight: 600; + } } - &, - &.-highlighted { + &:not(.-oldStyle) { .short { line-height: 1.5; font-size: inherit; &::before { + color: var(--faint); display: inline-block; height: 50%; line-height: 1; @@ -111,12 +114,9 @@ } } - .new { - &.-you { - & .shortName, - & .full { - font-weight: 600; - } + &:not(.-oldPlace) { + .new.-firstMention { + display: none; } } |
