Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

fix(run): scroll the config list and form independently in the editor dialog (#2255)

arookieofc8c21a1e08833
diff --git a/src/features/run/Run.module.css b/src/features/run/Run.module.css
index be2541b50..f809fd380 100644
--- a/src/features/run/Run.module.css
+++ b/src/features/run/Run.module.css
@@ -435,10 +435,15 @@
display: flex;
height: 100%;
min-height: min(520px, calc(100vh - 200px));
+ /* A cap, not just a floor: left list and right form scroll on their own
+ (IDEA), so the panes never grow the dialog body into one shared scroller.
+ vh − ~104px is what a full-height resized dialog's body can hold anyway. */
+ max-height: calc(100vh - 120px);
}
.editSidebar {
flex: none;
width: 250px;
+ min-height: 0;
display: flex;
flex-direction: column;
border-right: 1px solid var(--border-popup);
@@ -452,6 +457,7 @@
}
.editList {
flex: 1;
+ min-height: 0;
overflow: auto;
padding: 4px 0;
}