Skip to content

Commit f0de47b

Browse files
authored
Merge pull request #98 from lunnaholy/main
Add padding to #root for safe area insets
2 parents f3a01dc + ddf744a commit f0de47b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/global.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#root {
2+
padding-bottom: calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom));
3+
}
4+
15
html, body, #root, #root>div {
26
margin: 0;
37
min-height: 100%;

0 commit comments

Comments
 (0)