diff --git a/packages/block-library/src/home-link/block.json b/packages/block-library/src/home-link/block.json index b19fcf43ce6880..da552399b4b4b2 100644 --- a/packages/block-library/src/home-link/block.json +++ b/packages/block-library/src/home-link/block.json @@ -24,6 +24,14 @@ "supports": { "reusable": false, "html": false, + "spacing": { + "margin": true, + "padding": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, "typography": { "fontSize": true, "lineHeight": true, @@ -37,6 +45,12 @@ "fontSize": true } }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true + }, "interactivity": { "clientNavigation": true } diff --git a/packages/block-library/src/home-link/style.scss b/packages/block-library/src/home-link/style.scss new file mode 100644 index 00000000000000..d98bb0fdfb6304 --- /dev/null +++ b/packages/block-library/src/home-link/style.scss @@ -0,0 +1,4 @@ +.wp-block-home-link { + // This block has customizable padding, border-box makes that more predictable. + box-sizing: border-box; +} diff --git a/packages/block-library/src/style.scss b/packages/block-library/src/style.scss index 663626caaac87e..923c8365de8731 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -23,6 +23,7 @@ @import "./gallery/style.scss"; @import "./group/style.scss"; @import "./heading/style.scss"; +@import "./home-link/style.scss"; @import "./image/style.scss"; @import "./latest-comments/style.scss"; @import "./latest-posts/style.scss";