diff --git a/packages/block-library/src/post-author-name/block.json b/packages/block-library/src/post-author-name/block.json index 31874ddbf9bc5..68d2c49bd9105 100644 --- a/packages/block-library/src/post-author-name/block.json +++ b/packages/block-library/src/post-author-name/block.json @@ -53,6 +53,19 @@ }, "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-author-name" } diff --git a/packages/block-library/src/post-author-name/style.scss b/packages/block-library/src/post-author-name/style.scss new file mode 100644 index 0000000000000..0f57b30490fa6 --- /dev/null +++ b/packages/block-library/src/post-author-name/style.scss @@ -0,0 +1,4 @@ +.wp-block-post-author-name { + // 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 86fe5a3eefaba..338753ae53fcb 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -40,6 +40,7 @@ @import "./post-terms/style.scss"; @import "./post-time-to-read/style.scss"; @import "./post-title/style.scss"; +@import "./post-author-name/style.scss"; @import "./preformatted/style.scss"; @import "./pullquote/style.scss"; @import "./post-template/style.scss";