From b25c0c6f0289541bf1d7ef52da7d09db2893d38d Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 19 Apr 2022 22:22:16 +0300 Subject: fix overflow that sometimes happens in sidebar due to too wide file upload element --- src/components/media_upload/media_upload.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/media_upload/media_upload.vue') diff --git a/src/components/media_upload/media_upload.vue b/src/components/media_upload/media_upload.vue index e955aa72..2920387e 100644 --- a/src/components/media_upload/media_upload.vue +++ b/src/components/media_upload/media_upload.vue @@ -19,7 +19,7 @@ v-if="uploadReady" :disabled="disabled" type="file" - style="position: fixed; top: -100em" + style="position: fixed; top: -100em; max-width: 0; max-height: 0" multiple="true" @change="change" > -- cgit v1.2.3-70-g09d2 From 58a975e8df0d72ea330a6120195cc9bc374d68ad Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 20 Apr 2022 23:22:51 +0300 Subject: cleanup and fixes --- src/App.scss | 2 +- src/components/chat/chat.scss | 2 +- src/components/chat_new/chat_new.scss | 8 ++++---- src/components/chat_new/chat_new.vue | 6 +++--- src/components/login_form/login_form.vue | 2 +- src/components/media_upload/media_upload.vue | 2 +- .../post_status_form/post_status_form.vue | 24 +++++++--------------- src/components/registration/registration.vue | 6 +++--- src/components/remote_follow/remote_follow.vue | 2 +- src/components/select/select.vue | 6 +++--- src/components/settings_modal/settings_modal.scss | 2 +- .../settings_modal/tabs/mutes_and_blocks_tab.scss | 2 +- .../settings_modal/tabs/profile_tab.scss | 2 +- .../settings_modal/tabs/theme_tab/theme_tab.scss | 2 +- src/components/tab_switcher/tab_switcher.scss | 3 ++- src/panel.scss | 2 +- 16 files changed, 32 insertions(+), 41 deletions(-) (limited to 'src/components/media_upload/media_upload.vue') diff --git a/src/App.scss b/src/App.scss index bc792263..8c59c77a 100644 --- a/src/App.scss +++ b/src/App.scss @@ -456,7 +456,7 @@ textarea, box-sizing: border-box; display: inline-block; position: relative; - height: 28px; + height: 2em; line-height: 16px; hyphens: none; padding: 8px 0.5em; diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 63fd2a1f..1e046300 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -52,7 +52,7 @@ .go-back-button { text-align: center; - line-height: 100%; + line-height: 1; height: 100%; align-self: start; width: var(--__panel-heading-height-inner); diff --git a/src/components/chat_new/chat_new.scss b/src/components/chat_new/chat_new.scss index 5506143d..240e1a38 100644 --- a/src/components/chat_new/chat_new.scss +++ b/src/components/chat_new/chat_new.scss @@ -22,10 +22,10 @@ } .go-back-button { - cursor: pointer; - width: 28px; text-align: center; - padding: 0.6em; - margin: -0.6em 0.6em -0.6em -0.6em; + line-height: 1; + height: 100%; + align-self: start; + width: var(--__panel-heading-height-inner); } } diff --git a/src/components/chat_new/chat_new.vue b/src/components/chat_new/chat_new.vue index 0790bb37..bf09a379 100644 --- a/src/components/chat_new/chat_new.vue +++ b/src/components/chat_new/chat_new.vue @@ -6,15 +6,15 @@ ref="header" class="panel-heading" > - - +