Skip to content

Commit

Permalink
Add spacing support to the Comment Date block. (#43656)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego committed Sep 1, 2022
1 parent 250cf8f commit 12760b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Expand Up @@ -140,7 +140,7 @@ Displays the date on which the comment was posted. ([Source](https://github.com/

- **Name:** core/comment-date
- **Category:** theme
- **Supports:** color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~
- **Supports:** color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
- **Attributes:** format, isLink

## Comment Edit Link
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/comment-date/block.json
Expand Up @@ -28,6 +28,10 @@
"link": true
}
},
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
Expand Down

0 comments on commit 12760b1

Please sign in to comment.