Skip to content

Commit 8b9ccf1

Browse files
committed
fix: increase spacing between icon and close button in collapsed tabs
Add more padding and margin between the tab icon and close button when the tab bar is in collapsed/icon mode to prevent accidental close clicks.
1 parent ce20f26 commit 8b9ccf1

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/styles/Extn-BottomPanelTabs.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,13 @@ img.panel-titlebar-icon {
188188
.bottom-panel-tab-icon ~ .bottom-panel-tab-title {
189189
display: none;
190190
}
191+
/* Increase spacing between icon and close button to prevent accidental clicks */
192+
.bottom-panel-tab {
193+
padding: 0 0.6rem 0 0.8rem;
194+
}
195+
.bottom-panel-tab-close-btn {
196+
margin-left: 0.8rem;
197+
}
191198
}
192199

193200
.bottom-panel-tab-close-btn {

0 commit comments

Comments
 (0)