From 1853ff0f3cc478edfa202463ed1c6735dfc52e92 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 7 Jun 2021 23:48:01 +0300 Subject: [PATCH] smaller mentions --- src/components/mention_link/mention_link.scss | 11 ++++++++--- 1 file 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); } }