From fda2d2ff69a23b598c779a644a60c1cfdcc4f093 Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Mon, 23 Nov 2026 19:28:33 +0800 Subject: [PATCH] fix(run): scroll configuration choosers to their last item in short windows (#5457) The configuration choosers' list fills the viewport left by a window-capped popup, so its last items scroll into view in short windows. --- src/features/run/Run.module.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/features/run/Run.module.css b/src/features/run/Run.module.css index 35dccaf15..9afb904ef 100644 --- a/src/features/run/Run.module.css +++ b/src/features/run/Run.module.css @@ -487,9 +487,17 @@ padding: 6px 8px; border-bottom: 1px solid var(--border-popup); } +/* The list fills what is left of the viewport once the popup is capped by the window, not its full height. */ .chooserViewport { + display: flex; + flex-direction: column; min-height: 0; } +.chooserViewport > .chooserList { + flex: 1 1 auto; + min-height: 0; + height: auto; +} .chooserList { height: 100%; overflow-x: hidden;