From 631b8b93a4a8dd548bae5ab9fa7bc4d6e892ae3f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 20 Apr 2022 19:44:31 +0300 Subject: tons of fixes mainly aimed at panel headings --- .../settings_modal/tabs/theme_tab/theme_tab.scss | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/components/settings_modal/tabs/theme_tab') diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.scss b/src/components/settings_modal/tabs/theme_tab/theme_tab.scss index 21b49a32..cb8e477c 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_tab.scss +++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.scss @@ -245,25 +245,8 @@ border-color: var(--border, $fallback--border); } - .panel-heading { - .badge, .alert, .btn, .faint { - margin-left: 1em; - white-space: nowrap; - } - .faint { - text-overflow: ellipsis; - min-width: 2em; - overflow-x: hidden; - } - .flex-spacer { - flex: 1; - } - } .btn { - margin-left: 0; - padding: 0 1em; min-width: 3em; - min-height: 30px; } } } -- 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/settings_modal/tabs/theme_tab') 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" > - - +