style(ModalBase): keep header and footer in place, scroll only content

This commit is contained in:
Nybkox
2025-02-11 12:19:04 +01:00
parent 171b967cc4
commit f4c9c880bc

View File

@@ -81,6 +81,8 @@
border: 1px solid var(--theme-border);
overflow: auto;
outline: none;
display: flex;
flex-direction: column;
}
.window:not(.fullScreen):not(.simple) {
@@ -127,6 +129,12 @@
border-bottom: 1px solid var(--theme-border);
}
.content {
max-height: 100%;
overflow-y: auto;
flex-grow: 1;
}
.content:not(.fullScreen) {
border-bottom: 1px solid var(--theme-border);
border-top: 1px solid var(--theme-border);