We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78b270 commit 2cfe4caCopy full SHA for 2cfe4ca
src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts
@@ -1770,6 +1770,11 @@ export class MultiEditorTabsControl extends EditorTabsControl {
1770
// positioned editor actions container when tabs wrap. The margin needs to
1771
// be the width of the editor actions container to avoid screen cheese.
1772
tabsContainer.style.setProperty('--last-tab-margin-right', tabsWrapMultiLine ? `${editorToolbarContainer.offsetWidth}px` : '0');
1773
+
1774
+ // Remove old css classes that are not needed anymore
1775
+ for (const tab of tabsContainer.children) {
1776
+ tab.classList.remove('last-in-row');
1777
+ }
1778
}
1779
1780
// Setting enabled: selectively enable wrapping if possible
0 commit comments