Skip to content

Commit

Permalink
Feedback changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Nov 27, 2024
1 parent 28e29c6 commit 72b3168
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/block-library/src/latest-comments/editor.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
// Higher specificity - target list via wrapper.
.wp-block-latest-comments .wp-block-latest-comments {
// Remove left spacing. Higher specificity required to
// Remove spacing. Higher specificity required to
// override default wp-block layout styles in the Post/Site editor.
padding-left: 0;
padding: 0;
// These styles prevent duplicate borders in the Latest Comments block caused by
// server-side rendering injecting additional styles in the editor. They ensure
// consistent appearance in the editor while avoiding conflicts with frontend styles.
border: none;
border-radius: inherit;
}

// Reset margin for inner elements of the server-side rendered block
// to avoid extra spacing introduced in the editor
ol.wp-block-latest-comments {
margin: 0;
}

0 comments on commit 72b3168

Please sign in to comment.