diff --git a/src/index.css b/src/index.css index 23df6d7..b3fd82a 100644 --- a/src/index.css +++ b/src/index.css @@ -134,6 +134,26 @@ html.mobile { --safe-bottom: env(safe-area-inset-bottom, 0px); } +html.mobile body::before, +html.mobile body::after { + content: ""; + position: fixed; + left: 0; + right: 0; + z-index: 9999; + background: var(--background); +} + +html.mobile body::before { + top: 0; + height: var(--safe-top); +} + +html.mobile body::after { + bottom: 0; + height: var(--safe-bottom); +} + html.mobile body { padding-top: var(--safe-top); padding-bottom: var(--safe-bottom);