Fix mobile setting modal behavior: ensure the mobile browser address bar doesn't overlap the modal top panel.

This commit is contained in:
eugenijm 2020-07-21 14:53:01 +03:00
parent 25a015b471
commit dac075c61a
3 changed files with 33 additions and 1 deletions

View file

@ -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;