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;