diff options
| author | taehoon <th.dev91@gmail.com> | 2019-04-29 13:20:03 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-04-29 13:27:10 -0400 |
| commit | b1f8221a0af1d7eb37e5a5305e2ca6e9d40a268f (patch) | |
| tree | 110a82746d62007dc5a1f89123732c77d099cd07 /src/components/basic_user_card | |
| parent | 9e2fa50b74eb83e3c3eadb9a68d24ddaa1d9da48 (diff) | |
show ellipsis for long user name and screen name
Diffstat (limited to 'src/components/basic_user_card')
| -rw-r--r-- | src/components/basic_user_card/basic_user_card.vue | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index 48de6678..25f1fb2a 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -44,14 +44,15 @@ width: 16px; vertical-align: middle; } + } - &-value { - display: inline-block; - max-width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } + &-user-name-value, + &-screen-name { + display: inline-block; + max-width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } &-expanded-content { |
