mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 15:41:08 +01:00
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:
parent
c98ca19a20
commit
ae09551f41
@ -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
@ -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
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user