Skip to content

Commit

Permalink
Post Author Biography: Add Border Support (#64615)
Browse files Browse the repository at this point in the history
Co-authored-by: shail-mehta <[email protected]>
Co-authored-by: ramonjd <[email protected]>
Co-authored-by: aaronrobertshaw <[email protected]>
  • Loading branch information
4 people authored Aug 21, 2024
1 parent 18d1752 commit 22e9896
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/post-author-biography/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,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-biography"
}
4 changes: 4 additions & 0 deletions packages/block-library/src/post-author-biography/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-post-author-biography {
// 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 @@ -32,6 +32,7 @@
@import "./page-list/style.scss";
@import "./paragraph/style.scss";
@import "./post-author/style.scss";
@import "./post-author-biography/style.scss";
@import "./post-comments-form/style.scss";
@import "./post-content/style.scss";
@import "./post-date/style.scss";
Expand Down

0 comments on commit 22e9896

Please sign in to comment.