From 9f3f1ee7cb139a8fbea8c75fc6a85cc5476a51df Mon Sep 17 00:00:00 2001 From: Edijs Date: Mon, 11 Feb 2019 11:03:01 -0700 Subject: [PATCH 1/4] Fix UI of followers list --- src/components/status/status.vue | 1 - src/components/user_card/user_card.vue | 100 ++++++++++-------- .../user_card_content/user_card_content.vue | 2 - 3 files changed, 58 insertions(+), 45 deletions(-) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 76daf73a..5c3fe596 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -552,7 +552,6 @@ a.unmute { .timeline > { .status-el:last-child { - border-bottom-radius: 0 0 $fallback--panelRadius $fallback--panelRadius;; border-radius: 0 0 var(--panelRadius, $fallback--panelRadius) var(--panelRadius, $fallback--panelRadius); border-bottom: none; } diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 12960c02..99eecf7c 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -10,41 +10,43 @@
{{ user.name }} - - {{ currentUser.id == user.id ? $t('user_card.its_you') : $t('user_card.follows_you') }} -
+
+ + {{ currentUser.id == user.id ? $t('user_card.its_you') : $t('user_card.follows_you') }} + + + +
@@ -56,16 +58,13 @@ From dd1b25600564e3047dc3355aaa0e88c6b8814ddd Mon Sep 17 00:00:00 2001 From: Edijs Date: Mon, 11 Feb 2019 11:08:25 -0700 Subject: [PATCH 2/4] Fix typo --- src/components/status/status.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 5c3fe596..7b914291 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -552,6 +552,7 @@ a.unmute { .timeline > { .status-el:last-child { + border-bottom: 0 0 $fallback--panelRadius $fallback--panelRadius; border-radius: 0 0 var(--panelRadius, $fallback--panelRadius) var(--panelRadius, $fallback--panelRadius); border-bottom: none; } From 5d0e51cae33b29c65cb89c01c087af71b4885b6a Mon Sep 17 00:00:00 2001 From: Edijs Date: Tue, 12 Feb 2019 09:00:09 -0700 Subject: [PATCH 3/4] Fix styling --- src/App.scss | 4 ++++ src/components/status/status.vue | 2 +- src/components/user_card/user_card.vue | 17 +++-------------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/src/App.scss b/src/App.scss index 1eaed6ea..a43b84a7 100644 --- a/src/App.scss +++ b/src/App.scss @@ -733,3 +733,7 @@ nav { width: 100%; } } + +.btn.btn-default { + min-height: 28px; +} diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 7b914291..ef4ee843 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -552,7 +552,7 @@ a.unmute { .timeline > { .status-el:last-child { - border-bottom: 0 0 $fallback--panelRadius $fallback--panelRadius; + border-radius: 0 0 $fallback--panelRadius $fallback--panelRadius; border-radius: 0 0 var(--panelRadius, $fallback--panelRadius) var(--panelRadius, $fallback--panelRadius); border-bottom: none; } diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 99eecf7c..1fab2323 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -1,7 +1,7 @@ @@ -58,9 +60,16 @@ diff --git a/src/i18n/en.json b/src/i18n/en.json index c664fbfa..eba90b50 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -344,7 +344,7 @@ "follow_sent": "Request sent!", "follow_progress": "Requesting…", "follow_again": "Send request again?", - "follow_unfollow": "Stop following", + "follow_unfollow": "Unfollow", "followees": "Following", "followers": "Followers", "following": "Following!",