Merge pull request #1798 from a-rookie-of-C-language/fix/squeezed-tab-close-button

fix(tabs): keep close button visible in squeezed tab strip
This commit is contained in:
arookieofc authored and GitHub committed 2026-11-06 20:31:51 +08:00
commit 9db90c7141
1 file changed
+7
+7
View File
@@ -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;