From 8c21a1e0883352f66de03620efe8ce7d0da21836 Mon Sep 17 00:00:00 2001 From: arookieofc Date: Mon, 9 Nov 2026 11:36:21 +0800 Subject: [PATCH] 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. --- src/features/run/Run.module.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/features/run/Run.module.css b/src/features/run/Run.module.css index be2541b50..f809fd380 100644 --- a/src/features/run/Run.module.css +++ b/src/features/run/Run.module.css @@ -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; }