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 @@ ...@@ -150,12 +150,12 @@
@media screen and (max-height: $mobile-landscape-height) { @media screen and (max-height: $mobile-landscape-height) {
height: var(--mobile-chat-height); height: var(--mobile-chat-height);
width: var(--mobile-chat-width); width: var(--mobile-chat-width);
height: 100vh; height: var(--fullpage-chat-height);
} }
@media screen and (max-width: $mobile-portrait-length) { @media screen and (max-width: $mobile-portrait-length) {
height: var(--mobile-chat-height); height: var(--mobile-chat-height);
width: var(--mobile-chat-width); width: var(--mobile-chat-width);
height: 100vh; height: var(--fullpage-chat-height);
} }
} }
.chat-title { .chat-title {
...@@ -605,7 +605,7 @@ ...@@ -605,7 +605,7 @@
.box-flyout { .box-flyout {
left: 50px; left: 50px;
bottom: 0; bottom: 0;
height: 100vh; height: var(--fullpage-chat-height);
box-shadow: none; box-shadow: none;
} }
} }
......
...@@ -124,12 +124,12 @@ ...@@ -124,12 +124,12 @@
@media screen and (max-height: $mobile-landscape-height) { @media screen and (max-height: $mobile-landscape-height) {
height: var(--mobile-chat-height); height: var(--mobile-chat-height);
width: var(--mobile-chat-width); width: var(--mobile-chat-width);
height: 100vh; height: var(--fullpage-chat-height);
} }
@media screen and (max-width: $mobile-portrait-length) { @media screen and (max-width: $mobile-portrait-length) {
height: var(--mobile-chat-height); height: var(--mobile-chat-height);
width: var(--mobile-chat-width); width: var(--mobile-chat-width);
height: 100vh; height: var(--fullpage-chat-height);
} }
.chatroom-body { .chatroom-body {
flex-direction: row; flex-direction: row;
......
...@@ -593,7 +593,7 @@ ...@@ -593,7 +593,7 @@
bottom: 0; bottom: 0;
border-radius: 0; border-radius: 0;
width: 100vw !important; width: 100vw !important;
height: 100vh !important; height: var(--fullpage-chat-height);
} }
} }
...@@ -601,7 +601,7 @@ ...@@ -601,7 +601,7 @@
width: 100vw !important; width: 100vw !important;
.box-flyout { .box-flyout {
width: 100vw !important; width: 100vw !important;
height: 100vh !important; height: var(--fullpage-chat-height);
margin-right: -15px; margin-right: -15px;
} }
.sidebar { .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