Skip to content

Commit

Permalink
Comment Edit Link: Add Border Block Support
Browse files Browse the repository at this point in the history
  • Loading branch information
shail-mehta committed Aug 4, 2024
1 parent 79b0752 commit a5bea46
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-edit-link/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-edit-link"
}
4 changes: 4 additions & 0 deletions packages/block-library/src/comment-edit-link/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.wp-block-comment-edit-link {
// 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-edit-link/style.scss";
@import "./cover/style.scss";
@import "./details/style.scss";
@import "./embed/style.scss";
Expand Down

0 comments on commit a5bea46

Please sign in to comment.