Skip to content

Commit

Permalink
Add margin/padding support to archive block (#43350)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored Aug 18, 2022
1 parent 834dfc3 commit f03c942
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Display a date archive of your posts. ([Source](https://github.com/WordPress/gut

- **Name:** core/archives
- **Category:** widgets
- **Supports:** align, ~~html~~
- **Supports:** align, spacing (margin, padding), ~~html~~
- **Attributes:** displayAsDropdown, showLabel, showPostCounts, type

## Audio
Expand Down
6 changes: 5 additions & 1 deletion packages/block-library/src/archives/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
},
"supports": {
"align": true,
"html": false
"html": false,
"spacing": {
"margin": true,
"padding": true
}
},
"editorStyle": "wp-block-archives-editor"
}

0 comments on commit f03c942

Please sign in to comment.