Skip to content

Commit

Permalink
Social links: add block gap support (#35236)
Browse files Browse the repository at this point in the history
* This commit adds block gap support to the social links block.

* Show blockGap by default

Where a single control only is available, we show it until there are more to choose from.
  • Loading branch information
ramonjd authored Oct 5, 2021
1 parent 1f75f8f commit 67eab29
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/block-library/src/social-links/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@
"default": {
"type": "flex"
}
},
"spacing": {
"blockGap": true,
"units": [
"px",
"em",
"rem",
"vh",
"vw"
],
"__experimentalDefaultControls": {
"blockGap": true
}
}
},
"styles": [
Expand Down

0 comments on commit 67eab29

Please sign in to comment.