Skip to content

Commit

Permalink
Adding axial top bottom margin to the cover block. (#41963)
Browse files Browse the repository at this point in the history
Regenerated docs
  • Loading branch information
ramonjd authored Jun 28, 2022
1 parent 286e6be commit c8821f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Add an image or video with a text overlay — great for headers. ([Source](https

- **Name:** core/cover
- **Category:** media
- **Supports:** align, anchor, color (~~background~~, ~~text~~), spacing (padding), ~~html~~
- **Supports:** align, anchor, color (~~background~~, ~~text~~), spacing (margin, padding), ~~html~~
- **Attributes:** allowedBlocks, alt, backgroundType, contentPosition, customGradient, customOverlayColor, dimRatio, focalPoint, gradient, hasParallax, id, isDark, isRepeated, minHeight, minHeightUnit, overlayColor, templateLock, url, useFeaturedImage

## Embed
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/cover/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
"html": false,
"spacing": {
"padding": true,
"margin": [ "top", "bottom" ],
"__experimentalDefaultControls": {
"padding": true
}
Expand Down

0 comments on commit c8821f1

Please sign in to comment.