From 67068341b4da6bf1c53c9d498a419463c7f1509d Mon Sep 17 00:00:00 2001 From: jasmussen Date: Mon, 12 Apr 2021 10:20:41 +0200 Subject: [PATCH] Remove obsolete hardcoded focus style from Social Links --- packages/block-library/src/social-links/editor.scss | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/block-library/src/social-links/editor.scss b/packages/block-library/src/social-links/editor.scss index a75e5e78e50f0e..aca36841e5f353 100644 --- a/packages/block-library/src/social-links/editor.scss +++ b/packages/block-library/src/social-links/editor.scss @@ -133,14 +133,3 @@ .wp-social-link.wp-social-link__is-incomplete:focus { opacity: 1; } - - -// Focus styles for the button inside the child block. -// The child block itself has a more generic focus style, see line 55. -[data-type="core/social-links"] .wp-social-link:focus { // This needs specificity. - opacity: 1; - box-shadow: 0 0 0 2px $white, 0 0 0 4px var(--wp-admin-theme-color); - - // Windows High Contrast mode will show this outline, but not the box-shadow. - outline: 2px solid transparent; -}