diff --git a/packages/block-library/src/reset.scss b/packages/block-library/src/reset.scss index cf5e5a1596df5..6c3cc7b1d45be 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.