Skip to content

Commit

Permalink
Added extra comments for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed May 31, 2022
1 parent 94a97f9 commit 0d0de91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/columns/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@
// As with mobile styles, this must be important since the Column
// assigns its own width as an inline style, which should take effect
// starting at `break-medium`.
// Note: if the columns block has a style.spacing.blockGap value of > var(--wp--style--block-gap, 2em) this effect will not show.
// What would make this particular definition more robust is if we could do the following dynamically: ( var(--wp--style--block-gap, 2em) + style.spacing.blockGap )
flex-basis: calc(50% - calc(var(--wp--style--block-gap, 2em) / 2)) !important;
flex-grow: 1;
}
}

Expand Down

0 comments on commit 0d0de91

Please sign in to comment.