some more improvements. changed the way user-card is layout, but should look the

same, except that longer user names should be properly ellipsis-ed.
This commit is contained in:
Henry Jameson 2018-04-08 04:23:43 +03:00
parent 59a05081c5
commit 38d366f9aa
3 changed files with 25 additions and 20 deletions

View file

@ -7,7 +7,7 @@
<user-card-content :user="user" :switcher="false"></user-card-content>
</div>
<div class="name-and-screen-name" v-else>
<div class="user-name">
<div :title="user.name" class="user-name">
{{ user.name }}
<span class="follows-you" v-if="!userExpanded && showFollows && user.follows_you">
{{ $t('user_card.follows_you') }}
@ -26,7 +26,6 @@
.name-and-screen-name {
margin-left: 0.7em;
margin-top:0.0em;
margin-right: 2em;
text-align: left;
width: 100%;
}