fix: restore admin content scrolling

This commit is contained in:
3252a8
2026-05-30 21:49:40 +03:00
parent fbc3e193bf
commit ea4ee4c4a7
2 changed files with 72 additions and 82 deletions
+2 -9
View File
@@ -348,7 +348,7 @@
min-height: 0;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
padding: 24px 28px 36px;
display: flex;
@@ -359,14 +359,7 @@
/* Flex children must NOT shrink — otherwise they collapse to fit the
container and the main never overflows, breaking scroll. */
.admin-main-scroll {
flex: 1 1 auto;
min-height: 0;
max-height: none;
}
.admin-main > *,
.admin-main-scroll > .scroll-area__viewport > * {
.admin-main > * {
flex-shrink: 0;
}