fix: tg safe area
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 2m10s

This commit is contained in:
Hewston Fox
2026-03-18 23:06:36 +02:00
parent 43e52e7585
commit a1f6c57901
4 changed files with 51 additions and 27 deletions

View File

@@ -1,6 +1,7 @@
:root {
--navigation-height: 74px;
--navigation-total: calc(var(--navigation-height) + var(--tg-safe-area-inset-bottom, 0px));
--navigation-padding: var(--tg-viewport-safe-area-inset-bottom, 0px);
--navigation-total: calc(var(--navigation-height) + var(--navigation-padding));
}
@layer base {
@@ -33,7 +34,7 @@
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-bottom: var(--tg-safe-area-inset-bottom, 0px);
padding-bottom: var(--navigation-padding);
}
.barActive {