From b6654dc21ac0abdcc9666b07b57896292d13bb3f Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Mon, 15 Jul 2024 13:38:57 +1000 Subject: [PATCH] List: Prevent style bleed into non-List block lists (#63537) Co-authored-by: aaronrobertshaw Co-authored-by: andrewserong --- packages/block-library/src/list/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/list/style.scss b/packages/block-library/src/list/style.scss index 11f7c4888a5eff..c78b0bf1c74c0e 100644 --- a/packages/block-library/src/list/style.scss +++ b/packages/block-library/src/list/style.scss @@ -3,6 +3,6 @@ ul { box-sizing: border-box; } -:root :where(ul.has-background, ol.has-background) { +:root :where(.wp-block-list.has-background) { padding: $block-bg-padding--v $block-bg-padding--h; }