aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_card/user_card.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-04-08 04:23:43 +0300
committerHenry Jameson <me@hjkos.com>2018-04-08 04:23:43 +0300
commit38d366f9aaee189b6ad48edea189e1d8b7f66ed6 (patch)
treeaa82e8b947135222d4b0f42f1641c9dc7cafb27a /src/components/user_card/user_card.vue
parent59a05081c5ab6250a51b58a44c6b11245c7c79c4 (diff)
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.
Diffstat (limited to 'src/components/user_card/user_card.vue')
-rw-r--r--src/components/user_card/user_card.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 7381ef8f..51d6965f 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -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%;
}