Skip to content

Commit

Permalink
List: Prevent style bleed into non-List block lists (#63537)
Browse files Browse the repository at this point in the history
Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: andrewserong <[email protected]>
  • Loading branch information
3 people authored and scruffian committed Jul 15, 2024
1 parent 8250d31 commit b6654dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b6654dc

Please sign in to comment.