From 3870a30aeaeb9ed89e69610f2fc4ca6838fb1558 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 11 Mar 2021 16:31:15 +0200 Subject: [PATCH] cleanup, fixes --- src/App.scss | 13 ---------- src/components/font_control/font_control.vue | 3 ++- src/components/poll/poll_form.vue | 9 +++++-- src/components/select/select.vue | 24 ++++++++++++------- .../shadow_control/shadow_control.vue | 14 +++++------ src/components/user_card/user_card.vue | 10 ++------ 6 files changed, 33 insertions(+), 40 deletions(-) diff --git a/src/App.scss b/src/App.scss index 77f2ea79..a537baed 100644 --- a/src/App.scss +++ b/src/App.scss @@ -222,19 +222,6 @@ input, textarea, .input { opacity: 0.5; } - .select-down-icon { - position: absolute; - top: 0; - bottom: 0; - right: 5px; - height: 100%; - color: $fallback--text; - color: var(--inputText, $fallback--text); - line-height: 28px; - z-index: 0; - pointer-events: none; - } - &[type=range] { background: none; border: none; diff --git a/src/components/font_control/font_control.vue b/src/components/font_control/font_control.vue index 996ff92c..29605084 100644 --- a/src/components/font_control/font_control.vue +++ b/src/components/font_control/font_control.vue @@ -55,7 +55,8 @@ min-width: 10em; } &.custom { - .select { + /* TODO Should make proper joiners... */ + .font-switcher { border-top-right-radius: 0; border-bottom-right-radius: 0; } diff --git a/src/components/poll/poll_form.vue b/src/components/poll/poll_form.vue index f2459e45..ecbfdf41 100644 --- a/src/components/poll/poll_form.vue +++ b/src/components/poll/poll_form.vue @@ -47,7 +47,8 @@ :title="$t('polls.type')" > @@ -134,6 +135,10 @@ .poll-type { margin-right: 0.75em; flex: 1 1 60%; + + .poll-type-select { + padding-right: 0.75em; + } } .poll-expiry { diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 55474e1a..5ade1fa6 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -2,7 +2,7 @@