From 8a208ef5e4ae746001539af59e04bc37b2374b24 Mon Sep 17 00:00:00 2001 From: "Stephen A. Bernhardt" Date: Fri, 16 Feb 2024 18:57:42 -0600 Subject: [PATCH] Restore `html` scope in reset.scss selectors This option is the simple fix. --- packages/block-library/src/reset.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/reset.scss b/packages/block-library/src/reset.scss index cf5e5a1596df59..6c3cc7b1d45be8 100644 --- a/packages/block-library/src/reset.scss +++ b/packages/block-library/src/reset.scss @@ -7,7 +7,7 @@ // We use :where to keep specificity minimal. // https://css-tricks.com/almanac/selectors/w/where/ -:where(.editor-styles-wrapper) { +html :where(.editor-styles-wrapper) { /** * The following styles revert to the browser defaults overriding the WPAdmin styles. * This is only needed while the block editor is not being loaded in an iframe.