fix(run): scroll the config list and form independently in the editor dialog (#2255)

.editBody had a min-height but no cap, so a tall form grew it past the
viewport and the dialog body scrolled both panes together. Cap it below
the dialog's own body bound and let each pane's overflow take over.
Цей коміт міститься в:
arookieofc authored and GitHub committed 2026-11-09 11:36:21 +08:00
1 джерело ecba8aff68
коміт 8c21a1e088
1 file changed
+6
+6
Переглянути файл
@@ -435,10 +435,15 @@
display: flex;
height: 100%;
min-height: min(520px, calc(100vh - 200px));
/* A cap, not just a floor: left list and right form scroll on their own
(IDEA), so the panes never grow the dialog body into one shared scroller.
vh − ~104px is what a full-height resized dialog's body can hold anyway. */
max-height: calc(100vh - 120px);
}
.editSidebar {
flex: none;
width: 250px;
min-height: 0;
display: flex;
flex-direction: column;
border-right: 1px solid var(--border-popup);
@@ -452,6 +457,7 @@
}
.editList {
flex: 1;
min-height: 0;
overflow: auto;
padding: 4px 0;
}