decorations - show them next to the editor label when tabs and breadcrumbs disabled

//cc @jrieken
This commit is contained in:
Benjamin Pasero
2020-12-18 14:25:40 +01:00
parent 9034b769fa
commit 4efb4a2e8d
@@ -22,8 +22,8 @@
padding-left: 20px;
}
.monaco-workbench .part.editor > .content .editor-group-container > .title.breadcrumbs .no-tabs.title-label {
flex: none;
.monaco-workbench .part.editor > .content .editor-group-container > .title > .label-container > .title-label > .monaco-icon-label-container {
flex: none; /* helps to show decorations right next to the label and not at the end */
}
.monaco-workbench .part.editor > .content .editor-group-container > .title .monaco-icon-label::before {
@@ -32,6 +32,10 @@
/* Breadcrumbs */
.monaco-workbench .part.editor > .content .editor-group-container > .title.breadcrumbs .no-tabs.title-label {
flex: none;
}
.monaco-workbench .part.editor > .content .editor-group-container > .title.breadcrumbs .breadcrumbs-control {
flex: 1 50%;
overflow: hidden;