Skip to content

Commit

Permalink
Border support added to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkalpagdar committed Oct 23, 2024
1 parent acf661c commit 4372eb5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/block-library/src/comments/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@
"__experimentalDefaultControls": {
"fontSize": true
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"radius": true,
"color": true,
"width": true,
"style": true
}
}
},
"editorStyle": "wp-block-comments-editor",
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/comments/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,6 @@
:where(.wp-block-post-comments input[type="submit"]) {
border: none;
}
.wp-block-comments {
box-sizing: border-box;
}

0 comments on commit 4372eb5

Please sign in to comment.