From e1d6e56e1b5b189f0738fb174c23965b51bcd8f2 Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 26 Apr 2019 00:39:43 -0400 Subject: clean up layout --- src/components/user_card/user_card.vue | 75 +++++++++++++++------------------- 1 file changed, 34 insertions(+), 41 deletions(-) (limited to 'src/components/user_card/user_card.vue') diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index eedb67b5..2f2f9e5f 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -47,7 +47,7 @@
- -
+
- + {{ $t('user_card.subscribe') }} - + {{ $t('user_card.subscribed') }}
+
- - - - - - + +
+
- - - - - - + +
-
- - - + +
+
+
@@ -366,25 +361,23 @@ justify-content: space-between; margin-right: -.75em; - > div { + > * { flex: 1 0 0; - margin-right: .75em; - margin-bottom: .6em; + margin: 0 .75em .6em 0; white-space: nowrap; - } - button { - width: 100%; - height: 100%; - margin: 0; + > button { + margin: 0; + width: 100%; + } } .remote-button { - height: 28px !important; - width: 92%; + height: 28px; + margin: 0; } - .pressed { + button.pressed { border-bottom-color: rgba(255, 255, 255, 0.2); border-top-color: rgba(0, 0, 0, 0.2); } -- cgit v1.2.3-70-g09d2