File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/vs/workbench/browser/parts/editor/media Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 186
186
overflow : visible; /* ...but still show the close button on hover, focus and when dirty */
187
187
}
188
188
189
- .monaco-workbench .part .editor > .content .editor-group-container > .title .tabs-container > .tab .close-button-off > .tab-close {
189
+ .monaco-workbench .part .editor > .content .editor-group-container > .title .tabs-container > .tab .close-button-off : not (. dirty ) > .tab-close {
190
190
display : none; /* hide the close action bar when we are configured to hide it */
191
191
}
192
192
233
233
}
234
234
235
235
.monaco-workbench .part .editor > .content .editor-group-container > .title .tabs-container > .tab .close-button-off .dirty : not (.dirty-border-top ) {
236
- background-repeat : no-repeat;
237
- background-position-y : center;
238
- background-position-x : calc (100% - 6px ); /* to the right of the tab label */
239
- padding-right : 28px ; /* make room for dirty indication when we are running without close button */
236
+ padding-right : 0 ; /* remove extra padding when we are running without close button */
237
+ }
238
+
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 */
240
241
}
241
242
242
243
/* Editor Actions */
You can’t perform that action at this time.
0 commit comments