Skip to content

Commit 86d25a2

Browse files
Use full height of screen even when keyboard triggered
1 parent 43ccb90 commit 86d25a2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/App.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
1717
}
1818

19+
@supports (height: 100svh) {
20+
:root {
21+
--full-svh: 100svh;
22+
}
23+
}
24+
1925
/* Needed for the fallbacks below */
2026
@supports (height: -webkit-fill-available) {
2127
:root {
@@ -34,9 +40,7 @@ body,
3440
.WorkbenchContainer,
3541
.Workbench {
3642
width: 100%;
37-
/* --vvh set by VisualViewPortCSSVariables */
38-
height: var(--vvh, var(--webkit-vvh, 100vh));
39-
overflow: hidden;
43+
height: var(--full-svh, 100vh);
4044
}
4145
body {
4246
overflow: hidden;

0 commit comments

Comments
 (0)