Make WordPress Core


Ignore:
Timestamp:
02/14/2023 04:01:32 AM (3 years ago)
Author:
peterwilsoncc
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/group/_editor.scss

    r49726 r55329  
    11.wp-block-group {
    2     // Start IE clearfix.
    3     // This hack is only necessary because we want to support IE11.
    4     // If we don't want to support IE11, then "display: flow-root" would suffice.
    5     display: block;
    6     clear: both;
    7 
    8     display: flow-root; // stylelint-disable-line declaration-block-no-duplicate-properties
    9 
    10     &:before,
    11     &:after {
    12         content: "";
    13         display: block;
    14         clear: both;
    15     }
    16     // End IE clearfix.
    172
    183    &.has-background {
Note: See TracChangeset for help on using the changeset viewer.