diff --git a/packages/block-library/src/post-template/block.json b/packages/block-library/src/post-template/block.json index 6a575855583527..722a27f5d2f925 100644 --- a/packages/block-library/src/post-template/block.json +++ b/packages/block-library/src/post-template/block.json @@ -42,6 +42,8 @@ } }, "spacing": { + "margin": true, + "padding": true, "blockGap": { "__experimentalDefault": "1.25em" }, @@ -51,6 +53,18 @@ }, "interactivity": { "clientNavigation": true + }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true, + "__experimentalDefaultControls": { + "radius": true, + "color": true, + "width": true, + "style": true + } } }, "style": "wp-block-post-template", diff --git a/packages/block-library/src/post-template/editor.scss b/packages/block-library/src/post-template/editor.scss index 7b426b0f3d37a5..1adeee4b1c13e1 100644 --- a/packages/block-library/src/post-template/editor.scss +++ b/packages/block-library/src/post-template/editor.scss @@ -3,5 +3,6 @@ padding-left: 0; margin-left: 0; list-style: none; + box-sizing: border-box; } } diff --git a/packages/block-library/src/post-template/style.scss b/packages/block-library/src/post-template/style.scss index 806aadc77470eb..7dce26dcd6a26b 100644 --- a/packages/block-library/src/post-template/style.scss +++ b/packages/block-library/src/post-template/style.scss @@ -4,6 +4,7 @@ max-width: 100%; list-style: none; padding: 0; + box-sizing: border-box; // These rules no longer apply but should be kept for backwards compatibility. &.is-flex-container {