Skip to content

Commit 08e269b

Browse files
authored
Fix tab border and focus outline (#239907)
* fix tab border color and focus outline * 💄
1 parent 39e4161 commit 08e269b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
display: none;
5151
}
5252

53-
.monaco-workbench .part.editor > .content .editor-group-container > .title .tab:not(.active) .tabs-and-actions-container.tabs-border-bottom::after {
53+
.monaco-workbench .part.editor > .content .editor-group-container > .title > .tabs-and-actions-container.tabs-border-bottom::after {
5454
content: '';
5555
position: absolute;
5656
bottom: 0;
@@ -293,13 +293,17 @@
293293
background-color: var(--tab-border-top-color);
294294
}
295295

296-
.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.active.tab-border-bottom:not(:focus) > .tab-border-bottom-container {
296+
.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.active.tab-border-bottom > .tab-border-bottom-container {
297297
z-index: 10;
298298
bottom: 0;
299299
height: 1px;
300300
background-color: var(--tab-border-bottom-color);
301301
}
302302

303+
.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.active.tab-border-bottom:focus > .tab-border-bottom-container {
304+
background-color: var(--vscode-focusBorder);
305+
}
306+
303307
.monaco-workbench .part.editor > .content .editor-group-container > .title .tabs-container > .tab.dirty-border-top:not(:focus) > .tab-border-top-container {
304308
z-index: 6;
305309
top: 0;

0 commit comments

Comments
 (0)