From e5fbab46a99ab19a90852fc511c06c60a0ce8b67 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Sun, 27 Jun 2021 12:50:45 +0200 Subject: [PATCH] [profile] slightly nicer design of the other-locales links --- routes/profile.vue | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/routes/profile.vue b/routes/profile.vue index befe8b8de..1fcd2ece4 100644 --- a/routes/profile.vue +++ b/routes/profile.vue @@ -10,26 +10,25 @@ @{{username}} -
-
+
+
profile.edit -
- +
+ :class="['btn', locale === config.locale ? 'btn-primary disabled' : 'btn-outline-primary', 'btn-sm', 'mb-2 mx-1']"> {{options.name}}
@@ -319,11 +318,4 @@ padding-inline-start: calc(#{$list-group-item-padding-x} - 2px); } } - - @include media-breakpoint-up('md', $grid-breakpoints) { - .locale-list { - max-width: 16rem; - text-align: right; - } - }