From 4efb4a2e8dbfe8a6a7dbd8269bfc4034e1c21907 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 18 Dec 2020 14:25:40 +0100 Subject: [PATCH] decorations - show them next to the editor label when tabs and breadcrumbs disabled //cc @jrieken --- .../browser/parts/editor/media/notabstitlecontrol.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css b/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css index 77a7fa03e7ad..321a55b9a63e 100644 --- a/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css +++ b/src/vs/workbench/browser/parts/editor/media/notabstitlecontrol.css @@ -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;