Skip to content

Commit

Permalink
fix: use flex-basis to set default height for flex containers
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Mar 6, 2025
1 parent 9dbe2c9 commit 2316c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/spacer/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const SpacerEdit = ( {
const sizeConditionalOnOrientation =
inheritedOrientation === 'horizontal'
? temporaryWidth || flexSize
: temporaryHeight || flexSize;
: temporaryHeight || flexSize || DEFAULT_HEIGHT;

const style = {
height:
Expand Down

0 comments on commit 2316c71

Please sign in to comment.