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(tabs): keep close button visible in squeezed tab strip

arookieofc2591bbac8ff4
diff --git a/src/ui/Tabs.module.css b/src/ui/Tabs.module.css
index 4f5180c8e..7601bf4f7 100644
--- a/src/ui/Tabs.module.css
+++ b/src/ui/Tabs.module.css
@@ -140,6 +140,13 @@
flex: 0 1 auto;
min-width: 40px;
}
+/* A closable tab keeps room for its close slot: only the label shrinks. */
+.squeeze .closable {
+ min-width: 64px;
+}
+.squeeze .closeSlot {
+ flex: none;
+}
.squeeze .tabButton {
flex: 1 1 auto;
min-width: 0;