From 0d7a110b4ee0b2bd2a425672ccd4afd94c635576 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 10 Jun 2021 18:52:23 +0300 Subject: [PATCH] stylistic changes --- src/components/mention_link/mention_link.scss | 16 +++++++++++++--- src/components/mention_link/mention_link.vue | 5 ++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index 9560e205..9df1ccfe 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -49,6 +49,17 @@ } } + .at { + color: var(--link); + opacity: 0.8; + display: inline-block; + height: 50%; + line-height: 1; + padding: 0 0.1em; + vertical-align: -25%; + margin: 0; + } + &:not(.-oldStyle) { .short { padding-left: 0.25em; @@ -61,9 +72,8 @@ .at { color: var(--faint); opacity: 0.8; - display: inline-block; - height: 50%; - line-height: 1; + padding-right: 0.25em; + vertical-align: -20%; } } diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue index a65dbad3..062ad4bc 100644 --- a/src/components/mention_link/mention_link.vue +++ b/src/components/mention_link/mention_link.vue @@ -21,13 +21,12 @@ :class="[{ '-sublime': !highlight }, oldStyle ? 'button-unstyled' : 'button-default']" @click.prevent="onClick" > + - -