Skip to content

Commit

Permalink
Style Update
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Oct 17, 2024
1 parent 62bebfb commit 0b1dd41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/latest-comments/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ol.wp-block-latest-comments {
// Due to low specificity this will be safely overridden
// by default wp-block layout styles in the Post/Site editor
margin-left: 0;

// This block has customizable padding, border-box makes that more predictable.
box-sizing: border-box;
}
Expand All @@ -30,6 +31,7 @@ ol.wp-block-latest-comments {
.wp-block-latest-comments .wp-block-latest-comments {
// Remove left spacing. Higher specificity required to
// override default wp-block layout styles in the Post/Site editor.
padding-left: 0;
// The following styles are to prevent duplicate border for the latest comments.
border: none;
border-radius: inherit;
Expand Down

0 comments on commit 0b1dd41

Please sign in to comment.