chore: improve custom scroll areas

This commit is contained in:
3252a8
2026-05-30 21:41:32 +03:00
parent 3541f2f78b
commit fbc3e193bf
11 changed files with 270 additions and 193 deletions
+12 -2
View File
@@ -30,10 +30,11 @@
position: relative;
z-index: 1;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 16px;
width: min(100%, 520px);
max-height: min(86dvh, 760px);
overflow: auto;
overflow: hidden;
overscroll-behavior: contain;
padding: 18px;
border: 1px solid var(--border);
@@ -43,6 +44,15 @@
box-shadow: var(--shadow-strong);
}
.dialog-body-scroll {
min-height: 0;
max-height: none;
}
.dialog-body-scroll > .scroll-area__viewport {
display: grid;
}
.dialog-head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
@@ -94,7 +104,7 @@
.payment-dialog-card {
max-height: 100%;
overflow-y: auto;
overflow: hidden;
}
.payment-dialog-body {