Scaffold: add safe area padding for top bar
All checks were successful
/ depoly (push) Successful in 1m18s

This commit is contained in:
thislight 2024-11-20 00:31:09 +08:00
parent 9a7710c070
commit 7205fa5775
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -4,6 +4,9 @@
z-index: var(--tutu-zidx-nav, auto); z-index: var(--tutu-zidx-nav, auto);
.MuiToolbar-root { .MuiToolbar-root {
margin-left: var(--safe-area-inset-left);
margin-right: var(--safe-area-inset-right);
>.MuiButtonBase-root { >.MuiButtonBase-root {
&:first-child { &:first-child {
margin-left: -0.5em; margin-left: -0.5em;