Compare commits

...
Author SHA1 Message Date
l0ng-ai e5889a3bc4 fix(run): scroll configuration choosers to their last item in short windows
When the window caps the height of Add New Configuration or the run
configuration chooser, the list kept the height of its full-size viewport
(WebKit resolves its 100% height against the viewport's specified height),
so the bottom of the list sat below the popup's edge and its last items
could not be scrolled into view. The list now fills the viewport as a flex
item and scrolls within the space that is left.
2026-11-23 19:26:57 +08:00
+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;