Skip to content

Commit

Permalink
Remove flex-basis
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Feb 9, 2024
1 parent 4b9b395 commit c1e9334
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/block-editor/src/hooks/layout-child.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ function useBlockPropsChildLayoutStyles( { style } ) {
css += `${ selector } {
flex-grow: 1;
flex-shrink: 1;
flex-basis: 100%;
}`;
} else if ( layout[ heightProp ] === 'fit' ) {
css += `${ selector } {
Expand Down Expand Up @@ -109,7 +108,6 @@ function useBlockPropsChildLayoutStyles( { style } ) {
css += `${ selector } {
flex-grow: 1;
flex-shrink: 1;
flex-basis: 100%;
}`;
} else if ( layout[ widthProp ] === 'fit' ) {
css += `${ selector } {
Expand Down

0 comments on commit c1e9334

Please sign in to comment.