дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-06 01:57:13 +02:00
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.
Цей коміт міститься в:
1 джерело
0fdf37f1bf
коміт
e5889a3bc4
1 file changed
+8
@@ -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
Заблокувати користувача