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.
This commit is contained in:
l0ng-ai
2026-11-23 19:28:33 +08:00
committed by GitHub
parent 0fdf37f1bf
commit fda2d2ff69
+8
View File
@@ -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;