From b551b91dfc3a434e107cf394b4ee7289655041d8 Mon Sep 17 00:00:00 2001 From: dkoo Date: Tue, 28 Jan 2025 11:59:25 -0700 Subject: [PATCH] style(tabbed-nav): avoid 1px jank on link hover --- src/components/src/tabbed-navigation/style.scss | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/src/tabbed-navigation/style.scss b/src/components/src/tabbed-navigation/style.scss index 6c17c6a837..3703aab3d5 100644 --- a/src/components/src/tabbed-navigation/style.scss +++ b/src/components/src/tabbed-navigation/style.scss @@ -39,6 +39,7 @@ display: flex; font-weight: bold; height: 48px; + outline: none; padding: 12px 15px; text-decoration: none; @@ -51,15 +52,10 @@ &:focus, &:hover { color: var(--wp-admin-theme-color); - outline: none; - } - - &:focus { - box-shadow: none; } &:focus-visible { - outline: 2px solid; + outline: 2px solid var(--wp-admin-theme-color); outline-offset: -2px; }