mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 11:56:00 +00:00
style(ModalBase): keep header and footer in place, scroll only content
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user