Skip to content

Commit 902a7d2

Browse files
committed
Fix: iPhone X bottom white space just with css
1 parent 3b98c82 commit 902a7d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/app.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// To declare rules for a specific mode, create a child rule
1313
// for the .md, .ios, or .wp mode classes. The mode class is
1414
// automatically applied to the <body> element in the app.
15+
html {
16+
height: 100vh;
17+
}
18+
1519
body {
1620
line-height: 22px;
1721
}

0 commit comments

Comments
 (0)