From dcba920f92db596aea3a097bd7fca3753532cc6f Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Wed, 20 Jan 2021 17:01:57 +0200 Subject: [PATCH 1/3] fix profile field buttons, remove attachment button --- .../post_status_form/post_status_form.vue | 26 +++++-------------- .../settings_modal/tabs/profile_tab.scss | 9 ++++--- .../settings_modal/tabs/profile_tab.vue | 14 +++++----- 3 files changed, 18 insertions(+), 31 deletions(-) diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index ed830f57..73f6a4f1 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -302,11 +302,12 @@ :key="file.url" class="media-upload-wrapper" > - + > + + .emoji-input { + & > .emoji-input { flex: 1 1 auto; - margin: 0 .2em .5em; + margin: 0 0.2em 0.5em; min-width: 0; } - &>.icon-container { + & > .button-unstyled { width: 20px; align-self: center; - margin: 0 .2em .5em; + margin: 0 0.2em 0.5em; + padding: 0 0.5em; } } } diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue index b7ef21d7..abb16db2 100644 --- a/src/components/settings_modal/tabs/profile_tab.vue +++ b/src/components/settings_modal/tabs/profile_tab.vue @@ -124,24 +124,24 @@ :placeholder="$t('settings.profile_fields.value')" > -
-
+ - {{ $t("settings.profile_fields.add_field") }} - +

From 02ab803725e42a749c6c8f564e8093df70e97fc7 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Wed, 20 Jan 2021 17:36:40 +0200 Subject: [PATCH 2/3] change a few more buttons to real buttons --- CHANGELOG.md | 2 ++ src/App.scss | 7 +++++ src/components/poll/poll_form.vue | 30 ++++++------------- .../settings_modal/tabs/profile_tab.vue | 4 +-- 4 files changed, 20 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a38a03..1107491e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Button to remove uploaded media in post status form is now properly placed and sized. ## [2.2.3] - 2021-01-18 diff --git a/src/App.scss b/src/App.scss index 2a1d7b1b..8b91f3de 100644 --- a/src/App.scss +++ b/src/App.scss @@ -178,6 +178,13 @@ a { &.-fullwidth { width: 100%; } + + &.-hover-highlight { + &:hover svg { + color: $fallback--lightText; + color: var(--lightText, $fallback--lightText); + } + } } input, textarea, .select, .input { diff --git a/src/components/poll/poll_form.vue b/src/components/poll/poll_form.vue index 31f204a0..09496105 100644 --- a/src/components/poll/poll_form.vue +++ b/src/components/poll/poll_form.vue @@ -21,20 +21,17 @@ @keydown.enter.stop.prevent="nextOption(index)" > -

- -
+ + - {{ $t("polls.add_option") }} - +