Commit 31a05f11 authored by JC Brand's avatar JC Brand

Fixes #2261

Don't use 100vh, it doesn't work properly on mobile
parent 07f2f285
......@@ -150,12 +150,12 @@
@media screen and (max-height: $mobile-landscape-height) {
height: var(--mobile-chat-height);
width: var(--mobile-chat-width);
height: 100vh;
height: var(--fullpage-chat-height);
}
@media screen and (max-width: $mobile-portrait-length) {
height: var(--mobile-chat-height);
width: var(--mobile-chat-width);
height: 100vh;
height: var(--fullpage-chat-height);
}
}
.chat-title {
......@@ -605,7 +605,7 @@
.box-flyout {
left: 50px;
bottom: 0;
height: 100vh;
height: var(--fullpage-chat-height);
box-shadow: none;
}
}
......
......@@ -124,12 +124,12 @@
@media screen and (max-height: $mobile-landscape-height) {
height: var(--mobile-chat-height);
width: var(--mobile-chat-width);
height: 100vh;
height: var(--fullpage-chat-height);
}
@media screen and (max-width: $mobile-portrait-length) {
height: var(--mobile-chat-height);
width: var(--mobile-chat-width);
height: 100vh;
height: var(--fullpage-chat-height);
}
.chatroom-body {
flex-direction: row;
......
......@@ -593,7 +593,7 @@
bottom: 0;
border-radius: 0;
width: 100vw !important;
height: 100vh !important;
height: var(--fullpage-chat-height);
}
}
......@@ -601,7 +601,7 @@
width: 100vw !important;
.box-flyout {
width: 100vw !important;
height: 100vh !important;
height: var(--fullpage-chat-height);
margin-right: -15px;
}
.sidebar {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment