Skip to content

Commit

Permalink
Adjust based on #59457
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored and aaronrobertshaw committed May 26, 2024
1 parent 15a2337 commit d92a459
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/block-library/src/audio/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
@include caption-style-theme();
}

:where(.wp-block-audio) {
:root :where(.wp-block-audio) {
margin: 0 0 1em 0;
}
2 changes: 1 addition & 1 deletion packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Lowest specificity styles are used to ensure that the default styles for the cover block can be overridden by global styles.
:where(.wp-block-cover-image, .wp-block-cover) {
:root :where(.wp-block-cover-image, .wp-block-cover) {
min-height: 430px;
padding: 1em;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/embed/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
@include caption-style-theme();
}

:where(.wp-block-embed) {
:root :where(.wp-block-embed) {
margin: 0 0 1em 0;
}
2 changes: 1 addition & 1 deletion packages/block-library/src/image/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
@include caption-style-theme();
}

:where(.wp-block-image) {
:root :where(.wp-block-image) {
margin: 0 0 1em 0;
}
2 changes: 1 addition & 1 deletion packages/block-library/src/pullquote/theme.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:where(.wp-block-pullquote) {
:root :where(.wp-block-pullquote) {
border-top: 4px solid currentColor;
border-bottom: 4px solid currentColor;
margin-bottom: 1.75em;
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/quote/theme.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:where(.wp-block-quote) {
:root :where(.wp-block-quote) {
border-left: 0.25em solid currentColor;
margin: 0 0 1.75em 0;
padding-left: 1em;
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/table/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
}
}

:where(.wp-block-table) {
:root :where(.wp-block-table) {
margin: 0 0 1em 0;
}
2 changes: 1 addition & 1 deletion packages/block-library/src/template-part/theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Same as the group block styles.
:where(.wp-block-template-part) {
:root :where(.wp-block-template-part) {
&.has-background {
// Matches paragraph Block padding
padding: $block-bg-padding--v $block-bg-padding--h;
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/video/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
@include caption-style-theme();
}

:where(.wp-block-video) {
:root :where(.wp-block-video) {
margin: 0 0 1em 0;
}

0 comments on commit d92a459

Please sign in to comment.