Make WordPress Core


Ignore:
Timestamp:
08/05/2024 10:07:32 AM (2 years ago)
Author:
karmatosed
Message:

Twenty Twenty-One: Fixes float clearing elements being visible in Row and Grid blocks.

The grid layout looks different between front and back end due to the float clearing elements being visible in Row and Grid blocks. This moves the hack rather than deletes it.

Props up1512001, sabernhardt, poena.
Fixes #61611.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/assets/sass/07-utilities/ie.scss

    r49574 r58853  
    5151                min-width: auto;
    5252        }
     53
     54        .wp-block-group {
     55
     56                &:before,
     57                &:after {
     58                        content: "";
     59                        display: block;
     60                        clear: both;
     61                }
     62        }
     63
    5364}
Note: See TracChangeset for help on using the changeset viewer.