From 1c6e5d36886ac383ae91059e6bc93274d896c54e Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 21 Mar 2019 13:06:37 -0400 Subject: [PATCH 1/3] #451 - long username on follow/follower tabs --- src/components/basic_user_card/basic_user_card.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index 9b80c72b..37c34538 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -52,6 +52,14 @@ width: 16px; vertical-align: middle; } + + span { + display: inline-block; + max-width: 100%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } } &-expanded-content { From 8932c5370609892af240d31af267a32fcdd17e81 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 21 Mar 2019 14:58:28 -0400 Subject: [PATCH 2/3] #451 - update styling --- src/components/basic_user_card/basic_user_card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index 37c34538..4a24e810 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -53,7 +53,7 @@ vertical-align: middle; } - span { + > span { display: inline-block; max-width: 100%; overflow: hidden; From ed4540530bf1d327c91af2cf4474646aa80cd0fb Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 22 Mar 2019 10:42:21 -0400 Subject: [PATCH 3/3] #451 - add class to username span --- src/components/basic_user_card/basic_user_card.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index 4a24e810..8afe8b44 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -8,8 +8,8 @@
- - {{ user.name }} + + {{ user.name }}
@@ -53,7 +53,7 @@ vertical-align: middle; } - > span { + &-value { display: inline-block; max-width: 100%; overflow: hidden;