From 6109fab14e4dac3a85ffa51ddfcd7e3aaef5149a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 8 Apr 2022 10:17:23 +0300 Subject: cleanup, fix some things, try to disable scrollbars on mobile --- src/components/chat/chat.scss | 9 --------- src/components/media_modal/media_modal.vue | 2 +- src/components/modal/modal.vue | 2 +- 3 files changed, 2 insertions(+), 11 deletions(-) (limited to 'src/components') diff --git a/src/components/chat/chat.scss b/src/components/chat/chat.scss index 51bb3ea6..85e9f59d 100644 --- a/src/components/chat/chat.scss +++ b/src/components/chat/chat.scss @@ -133,18 +133,9 @@ .chat-view-heading { box-sizing: border-box; position: static; - z-index: 9999; top: 0; margin-top: 0; border-radius: 0; - - /* This practically overlays the panel heading color over panel background - * color. This is needed because we allow transparent panel background and - * it doesn't work well in this "disjointed panel header" case - */ - background: - linear-gradient(to top, var(--panel), var(--panel)), - linear-gradient(to top, var(--bg), var(--bg)); height: 50px; } diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 708a43c6..c7dcd007 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -121,7 +121,7 @@ $modal-view-button-icon-width: 3em; $modal-view-button-icon-margin: 0.5em; .modal-view.media-modal-view { - z-index: 1001; + z-index: 9000; flex-direction: column; .modal-view-button-arrow, diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 2b58913f..9394efff 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -35,7 +35,7 @@ export default {