mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user