Skip to content

Commit

Permalink
Do not apply global styles to nested list blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 9, 2024
1 parent b79f1ce commit 2fa7e3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/list/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
"clientNavigation": true
}
},
"selectors": {
"border": ".wp-block-list:not(.wp-block-list .wp-block-list)"
},
"editorStyle": "wp-block-list-editor",
"style": "wp-block-list"
}

0 comments on commit 2fa7e3a

Please sign in to comment.