aboutsummaryrefslogtreecommitdiff
path: root/src/App.scss
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2020-07-21 14:53:01 +0300
committereugenijm <eugenijm@protonmail.com>2020-07-23 09:53:51 +0300
commitdac075c61a33eafa6778d04b9f972dbc1e1dfb57 (patch)
tree7048fc60cdc7c3d3029bccd61c30d63d79b15435 /src/App.scss
parent25a015b4715b7e85af310bae0ed360f98aef6205 (diff)
Fix mobile setting modal behavior: ensure the mobile browser address bar doesn't overlap the modal top panel.
Diffstat (limited to 'src/App.scss')
-rw-r--r--src/App.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss
index e2e2d079..21c00bac 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -943,6 +943,22 @@ nav {
line-height: 1.3rem;
}
+.settings-modal-layout {
+ @media all and (max-width: 800px) {
+ height: 100%;
+
+ body {
+ height: 100vh;
+ overflow-y: hidden;
+ position: fixed;
+ }
+
+ #app {
+ height: 100%;
+ }
+ }
+}
+
.chat-layout {
// Needed for smoother chat navigation in the desktop Safari (otherwise the chat layout "jumps" as the chat opens).
overflow: hidden;