Skip to content

Commit 12e0f42

Browse files
author
Miguel Solorio
committed
Don't allow dirty state button to be clicked when running without close button
1 parent 9844d2b commit 12e0f42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vs/workbench/browser/parts/editor/media/tabstitlecontrol.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@
236236
padding-right: 0; /* remove extra padding when we are running without close button */
237237
}
238238

239+
.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.close-button-off > .tab-close {
240+
pointer-events: none; /* don't allow dirty state/close button to be clicked when running without close button */
241+
}
242+
239243
/* Editor Actions */
240244

241245
.monaco-workbench .part.editor > .content .editor-group-container > .title .editor-actions {

0 commit comments

Comments
 (0)