Skip to content

Commit

Permalink
Revert "Add some additional selectors to get around specificity issue…
Browse files Browse the repository at this point in the history
…s with TwentyTwentyOne theme"

This reverts commit 68675e2.
  • Loading branch information
Glen Davies committed Sep 21, 2021
1 parent e9c1ccb commit b7c6727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
11 changes: 0 additions & 11 deletions packages/block-library/src/cover/editor.scss
Expand Up @@ -41,17 +41,6 @@
text-align: left;
margin-left: 0;
margin-right: 0;
.block-editor-block-list__block:not(.has-text-color) {
color: $white;
}
}

&.is-light {
.wp-block-cover__inner-container {
.block-editor-block-list__block:not(.has-text-color) {
color: $black;
}
}
}

.wp-block-cover__placeholder-background-options {
Expand Down
8 changes: 2 additions & 6 deletions packages/block-library/src/cover/style.scss
Expand Up @@ -103,16 +103,12 @@
.wp-block-cover__inner-container {
width: 100%;
z-index: z-index(".wp-block-cover__inner-container");
*:not(.has-text-color) {
color: $white;
}
color: $white;
}

&.is-light {
.wp-block-cover__inner-container {
*:not(.has-text-color) {
color: $black;
}
color: $black;
}
}

Expand Down

0 comments on commit b7c6727

Please sign in to comment.