Skip to content

Commit

Permalink
Do not apply global border styles to inner list items
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 9, 2024
1 parent f6df8de commit 3d0d650
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/list-item/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
}
},
"selectors": {
"root": ".wp-block-list > li"
"root": ".wp-block-list > li",
"border": ".wp-block-list:not(.wp-block-list .wp-block-list) > li"
}
}

0 comments on commit 3d0d650

Please sign in to comment.