diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-07 23:48:01 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-07 23:48:01 +0300 |
| commit | c3e122ff6f011cb6750fb11030e601e37afcd586 (patch) | |
| tree | d9fccff01d8f0b6c41360bdd60742a5ec734b136 /src/components/mention_link | |
| parent | 7d6fc044fbcf2c6f82f759605a0fd5c1aebae55a (diff) | |
smaller mentions
Diffstat (limited to 'src/components/mention_link')
| -rw-r--r-- | src/components/mention_link/mention_link.scss | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index 3a3e58d1..37717424 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -42,13 +42,14 @@ &.-striped, &.-solid, &.-side { - .full { - } .short { + font-size: 90%; + line-height: 1.5; + vertical-align: middle; + &::before { display: inline-block; height: 50%; - font-size: 90%; line-height: 1; vertical-align: 6%; } @@ -65,12 +66,16 @@ } .userName { + display: inline-block; color: var(--link); + line-height: inherit; margin-left: 0.25em; padding-left: 0.25em; padding-right: 0.25em; padding-top: 0; padding-bottom: 0; + border-top-right-radius: var(--btnRadius); + border-bottom-right-radius: var(--btnRadius); } } |
