diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-08 00:03:59 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-08 00:03:59 +0300 |
| commit | e6d5ddcbb69ff93e711227672caaf208cf872c21 (patch) | |
| tree | 7fd71bfa9bb1e51f8b880d9ce988ccd5b2298f06 /src/components/mention_link/mention_link.scss | |
| parent | c3e122ff6f011cb6750fb11030e601e37afcd586 (diff) | |
better modifier, no background for unhighlighted mentions
Diffstat (limited to 'src/components/mention_link/mention_link.scss')
| -rw-r--r-- | src/components/mention_link/mention_link.scss | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index 37717424..4e061be9 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -37,13 +37,15 @@ } } - & .new { + .new:not(.-highlighted) { + .short { + background: none; + } + } + .new { &, - &.-striped, - &.-solid, - &.-side { + &.-highlighted { .short { - font-size: 90%; line-height: 1.5; vertical-align: middle; @@ -58,6 +60,7 @@ .you { padding-right: 0.25em; } + .short { padding-left: 0.25em; padding-right: 0; |
