Skip to content

Commit

Permalink
Comment Date: Added Border Support (#64210)
Browse files Browse the repository at this point in the history
Co-authored-by: shail-mehta <shailu25@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
  • Loading branch information
4 people authored Aug 9, 2024
1 parent 0ceac8f commit 97285c2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
15 changes: 14 additions & 1 deletion packages/block-library/src/comment-date/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
4 changes: 4 additions & 0 deletions packages/block-library/src/comment-date/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-comment-date {
// This block has customizable padding, border-box makes that more predictable.
box-sizing: border-box;
}
1 change: 1 addition & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 97285c2

Please sign in to comment.