diff --git a/packages/block-library/src/comment-date/block.json b/packages/block-library/src/comment-date/block.json index ddc0281e6c668c..1e8110f836d93b 100644 --- a/packages/block-library/src/comment-date/block.json +++ b/packages/block-library/src/comment-date/block.json @@ -47,6 +47,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-comment-date" } diff --git a/packages/block-library/src/comment-date/style.scss b/packages/block-library/src/comment-date/style.scss new file mode 100644 index 00000000000000..9b897defa655b7 --- /dev/null +++ b/packages/block-library/src/comment-date/style.scss @@ -0,0 +1,4 @@ +.wp-block-comment-date { + // 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 8f17cd7a50f55c..df1337d7eb25c0 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -10,6 +10,7 @@ @import "./comments/style.scss"; @import "./comments-pagination/style.scss"; @import "./comment-template/style.scss"; +@import "./comment-date/style.scss"; @import "./cover/style.scss"; @import "./details/style.scss"; @import "./embed/style.scss";