From 0d0de918520c9921afce232ff2c8549a060761a1 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Wed, 18 May 2022 11:59:04 +1000 Subject: [PATCH] Added extra comments for clarity --- packages/block-library/src/columns/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/columns/style.scss b/packages/block-library/src/columns/style.scss index 3512891c049363..3ad29fb3086d45 100644 --- a/packages/block-library/src/columns/style.scss +++ b/packages/block-library/src/columns/style.scss @@ -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; } }