Fix PWA menu paddings

This commit is contained in:
Kalle 2026-03-21 14:41:37 +02:00
parent 569f2e5f3c
commit 3138e63004
2 changed files with 13 additions and 1 deletions

View File

@ -180,7 +180,7 @@
color: var(--color-text-high);
min-height: var(--layout-nav-height);
&:first-child {
.panelDialog > &:first-child {
border-top: none;
padding-block-start: env(safe-area-inset-top);
}
@ -218,6 +218,7 @@
list-style: none;
margin: 0;
padding: var(--s-4);
padding-block-end: calc(env(safe-area-inset-bottom) + var(--s-4));
& a:not(:first-child) {
padding-block: var(--s-2);

View File

@ -23,6 +23,17 @@
}
}
@media screen and (display-mode: standalone) and (max-width: 599px) {
.sidebarHeader,
.chatHeader {
padding-block-start: env(safe-area-inset-top);
}
.sidebar {
padding-block-end: env(safe-area-inset-bottom);
}
}
.closeButton {
display: grid;
place-items: center;