Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completely hide tab close button when dirty state is highlighted in top border #64718

Merged
merged 2 commits into from Dec 11, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -260,6 +260,15 @@
background-image: url('close-dirty-inverse.svg');
}

/* No Tab Close Button and "highlightModifiedTabs": true (should never show the dirty icon and never change tab width) */
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab.close-button-off.dirty.dirty-border-top {
background-image: none;
padding-right: 10px;
}
.monaco-workbench > .part.editor > .content .editor-group-container > .title .tabs-container > .tab.close-button-off.dirty.dirty-border-top.sizing-shrink {
padding-right: 5px;
}

/* Editor Actions */

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