Merge pull request #1037 from dbgate/feature/fix-modal-scroll

style(ModalBase): keep header and footer in place, scroll only content
This commit is contained in:
Jan Prochazka
2025-02-11 12:20:41 +01:00
committed by GitHub

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);