stylistic changes

This commit is contained in:
Henry Jameson 2021-06-10 18:52:23 +03:00
parent cc00af7a31
commit b84aeff6bf
2 changed files with 15 additions and 6 deletions

View File

@ -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%;
}
}

View File

@ -21,13 +21,12 @@
:class="[{ '-sublime': !highlight }, oldStyle ? 'button-unstyled' : 'button-default']"
@click.prevent="onClick"
>
<!-- eslint-disable vue/no-v-html -->
<FAIcon
size="s"
icon="at"
class="at"
/>
<!-- eslint-disable vue/no-v-html -->
<span class="shortName"><span
/><span class="shortName"><span
class="userName"
v-html="userName"
/></span>