Skip to content

Commit

Permalink
Add support for margin control to the group block.
Browse files Browse the repository at this point in the history
  • Loading branch information
apeatling committed Aug 11, 2021
1 parent 0b9027e commit d28ccf7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@
"customRadius": true
}
},
"core/group": {
"spacing": {
"customMargin": true,
"customPadding": true
}
},
"core/pullquote": {
"border": {
"customColor": true,
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/group/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"link": true
},
"spacing": {
"padding": true
"padding": true,
"margin": true
},
"__experimentalBorder": {
"color": true,
Expand Down

0 comments on commit d28ccf7

Please sign in to comment.