From ed53f3d8f47a09f008b322c26f88b2050e0cbc48 Mon Sep 17 00:00:00 2001 From: Lakshmishri Date: Tue, 6 Aug 2024 11:24:39 +0200 Subject: [PATCH] KAW-7713 fix column block issues and add one more variant --- blocks/columns/columns.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/columns/columns.css b/blocks/columns/columns.css index 665ec13..7acff5b 100644 --- a/blocks/columns/columns.css +++ b/blocks/columns/columns.css @@ -18,7 +18,7 @@ margin-right: auto; } -.columns > div > .columns-img-col { +.columns > div > .columns-img-col:not(.columns.image-no-order > div > .columns-img-col) { order: 0; } @@ -58,11 +58,11 @@ } .columns.grid > div .col-wide { - flex-basis: 48%; + flex-basis: calc((100% / 2) - 15px); } .columns.grid > div .col-narrow { - flex-basis: 31%; + flex-basis: calc((100% / 3) - 20px); } }