Bundled themes: Fix row variation nested in group block.

Remove the `display` property from the custom group block styles to prevent the flex layout in the row variation from been removed.

Props abirhasandipu, poena, robinwpdeveloper.
Fixes #56226.



git-svn-id: https://develop.svn.wordpress.org/trunk@55329 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Wilson 2023-02-14 04:01:32 +00:00
parent c98ca19a20
commit ae09551f41
5 changed files with 2 additions and 43 deletions

View File

@ -863,19 +863,6 @@ a:hover {
color: #fff;
}
.wp-block-group {
display: block;
clear: both;
display: flow-root;
}
.wp-block-group:before,
.wp-block-group:after {
content: "";
display: block;
clear: both;
}
.wp-block-group.has-background {
padding: 30px;
}

File diff suppressed because one or more lines are too long

View File

@ -931,19 +931,6 @@ a:hover {
color: var(--global--color-white);
}
.wp-block-group {
display: block;
clear: both;
display: flow-root;
}
.wp-block-group:before,
.wp-block-group:after {
content: "";
display: block;
clear: both;
}
.wp-block-group.has-background {
padding: var(--global--spacing-vertical);
}

File diff suppressed because one or more lines are too long

View File

@ -1,19 +1,4 @@
.wp-block-group {
// Start IE clearfix.
// This hack is only necessary because we want to support IE11.
// If we don't want to support IE11, then "display: flow-root" would suffice.
display: block;
clear: both;
display: flow-root; // stylelint-disable-line declaration-block-no-duplicate-properties
&:before,
&:after {
content: "";
display: block;
clear: both;
}
// End IE clearfix.
&.has-background {
padding: var(--global--spacing-vertical);