UX: prevent devices from miscalculating fullscreen composer height

Fixes issue seen in some Chromebooks that flip between tablet and regular notebook window size
This commit is contained in:
Penar Musaraj 2020-06-01 22:24:16 -04:00
parent 7e52106812
commit 2a0a689442
No known key found for this signature in database
GPG Key ID: E390435D881FF0F7

View File

@ -247,6 +247,7 @@ a.toggle-preview {
&.fullscreen {
// important needed because of inline styles when height is changed manually with grippie
height: 100vh !important;
max-height: 100%; // prevents devices from miscalculating using vh
@supports (--custom: property) {
height: calc(var(--composer-vh, 1vh) * 100) !important;
}