diff --git a/src/components/basic_user_card/basic_user_card.vue b/src/components/basic_user_card/basic_user_card.vue index af4ffc08..0563360a 100644 --- a/src/components/basic_user_card/basic_user_card.vue +++ b/src/components/basic_user_card/basic_user_card.vue @@ -13,9 +13,12 @@ {{ user.name }} - - @{{user.screen_name}} - +
+ + @{{user.screen_name}} + +
+
@@ -49,6 +52,7 @@ margin-left: 0.7em; text-align: left; flex: 1; + min-width: 0; } &-primary-secondary-wrapper { @@ -59,6 +63,8 @@ &-primary-area { flex: 1; + margin-right: 1em; + min-width: 0; } &-user-name { @@ -100,5 +106,15 @@ margin-bottom: 0; } } + + @media (min-width: 320px) and (max-width: 480px) { + &-primary-secondary-wrapper { + flex-direction: column; + } + + &-primary-area { + margin-right: 0; + } + } } diff --git a/src/components/follow_card/follow_card.vue b/src/components/follow_card/follow_card.vue index e6933e3c..8e6dd2fb 100644 --- a/src/components/follow_card/follow_card.vue +++ b/src/components/follow_card/follow_card.vue @@ -1,5 +1,10 @@ diff --git a/src/components/follow_request_card/follow_request_card.vue b/src/components/follow_request_card/follow_request_card.vue index 4e2f3bf8..522db35f 100644 --- a/src/components/follow_request_card/follow_request_card.vue +++ b/src/components/follow_request_card/follow_request_card.vue @@ -22,6 +22,10 @@ flex: 1 1; max-width: 12em; min-width: 8em; + + &:last-child { + margin-right: 0; + } } }