Skip to content

Commit

Permalink
Post Comments Count: Add Border Support (#68223)
Browse files Browse the repository at this point in the history
* Post Comments Count: Add Border Support

Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: carolinan <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2025
1 parent c300edf commit afd4d37
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-library/src/post-comments-count/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,15 @@
"fontSize": true
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true
},
"interactivity": {
"clientNavigation": true
}
}
},
"style": "wp-block-post-comments-count"
}
4 changes: 4 additions & 0 deletions packages/block-library/src/post-comments-count/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-post-comments-count {
// 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 @@ -36,6 +36,7 @@
@import "./post-author/style.scss";
@import "./post-author-biography/style.scss";
@import "./post-comments-form/style.scss";
@import "./post-comments-count/style.scss";
@import "./post-content/style.scss";
@import "./post-comments-link/style.scss";
@import "./post-date/style.scss";
Expand Down

0 comments on commit afd4d37

Please sign in to comment.