From b37df9b6ad99296c4af3af423f46287f2f46a9a9 Mon Sep 17 00:00:00 2001 From: Alan Ren Date: Thu, 4 May 2023 21:53:24 -0700 Subject: [PATCH] fix tab style in hc mode (#22975) --- src/sql/base/browser/ui/panel/panel.component.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/sql/base/browser/ui/panel/panel.component.ts b/src/sql/base/browser/ui/panel/panel.component.ts index db0bc65cce..5ab57b2d32 100644 --- a/src/sql/base/browser/ui/panel/panel.component.ts +++ b/src/sql/base/browser/ui/panel/panel.component.ts @@ -439,11 +439,19 @@ export class PanelComponent extends Disposable implements IThemable { if (styles.selectedTabContrastBorder) { content.push(` + .tabbedPanel > .title .tabList .tab-header:focus, .tabbedPanel > .title .tabList .tab-header.selected { - outline: 1px solid; + outline-width: 1px; outline-offset: -3px; outline-color: ${styles.selectedTabContrastBorder}; } + .tabbedPanel > .title .tabList .tab-header.selected { + outline-style: dashed; + } + .tabbedPanel > .title .tabList .tab-header:focus, + .tabbedPanel > .title .tabList .tab-header.selected:focus { + outline-style: solid; + } `); }