Skip to content

Commit

Permalink
Increase specificity of latest comments block CSS
Browse files Browse the repository at this point in the history
This was not always overwriting the default block styles.
  • Loading branch information
Tetrakern committed Jan 7, 2025
1 parent 36aac5b commit 17df19a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion css/application.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/complete.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/editor.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/scss/common/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 977,7 @@ figure.wp-block-pullquote:where(:not(.no-theme-style)) {
// LATEST COMMENTS
// =============================================================================

.wp-block-latest-comments:where(:not(.no-theme-style)) {
.wp-block-latest-comments:is(:not(.no-theme-style)) {
list-style: none;
padding-left: 0;

Expand Down Expand Up @@ -1009,7 1009,7 @@ figure.wp-block-pullquote:where(:not(.no-theme-style)) {

.wp-block-latest-comments__comment-avatar {
float: left;
margin: 3px 8px 4px 0;
margin: 3px 8px 3px 0;
border-radius: var(--layout-border-radius-small);
height: 32px;
width: 32px;
Expand Down
4 changes: 2 additions & 2 deletions src/scss/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 711,7 @@ body {
// LATEST COMMENTS
// =============================================================================

.wp-block-latest-comments:where(:not(.no-theme-style)) {
.wp-block-latest-comments:is(:not(.no-theme-style)) {
list-style: none;
padding-left: 0 !important;

Expand All @@ -734,7 734,7 @@ body {

.wp-block-latest-comments__comment-avatar {
float: left;
margin: 3px 8px 4px 0;
margin: 3px 8px 3px 0;
border-radius: 2px;
height: 32px;
width: 32px;
Expand Down

0 comments on commit 17df19a

Please sign in to comment.