Skip to content

Commit

Permalink
Simplify Comment styles via template.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgardner committed Nov 14, 2024
1 parent d5e4a0a commit c23345b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
4 changes: 2 additions & 2 deletions patterns/hidden-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<!-- wp:group {"tagName":"header","style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<header class="wp-block-group">
<!-- wp:avatar {"size":48,"style":{"border":{"radius":"24px"}}} /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"typography":{"lineHeight":"1.5"}},"fontSize":"x-small","layout":{"type":"default"}} -->
<div class="wp-block-group has-x-small-font-size" style="line-height:1.5">
<!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group">
Expand Down
18 changes: 0 additions & 18 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,24 +290,6 @@
"fontSize": "var(--wp--preset--font-size--x-small)"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"lineHeight": "var(--wp--custom--line-height--medium)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"lineHeight": "var(--wp--custom--line-height--medium)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-small)",
"lineHeight": "var(--wp--custom--line-height--medium)"
}
},
"core/cover": {
"spacing": {
"padding": {
Expand Down

0 comments on commit c23345b

Please sign in to comment.