Skip to content

Commit

Permalink
fix: styles for center alignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
snehapatil2001 committed Jun 18, 2024
1 parent 1050efa commit 866b2cd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/block-library/src/latest-comments/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ ol.wp-block-latest-comments {
margin-left: 3.25em;
}
}

.aligncenter & {
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;

.wp-block-latest-comments__comment-meta,
.wp-block-latest-comments__comment-excerpt {
margin-left: 0;
}
}
}

.wp-block-latest-comments__comment-excerpt p {
Expand Down

0 comments on commit 866b2cd

Please sign in to comment.