From 9b767ea63e12def3ee6014c836f606bc40b9cbbc Mon Sep 17 00:00:00 2001 From: Manu MA Date: Wed, 24 Jan 2024 08:51:46 +0100 Subject: [PATCH] fix: less css for compiled away columns --- .../core/src/plugins/compile-away-builder-components.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/core/src/plugins/compile-away-builder-components.ts b/packages/core/src/plugins/compile-away-builder-components.ts index e2daaa34b0..32b6dcbc7d 100644 --- a/packages/core/src/plugins/compile-away-builder-components.ts +++ b/packages/core/src/plugins/compile-away-builder-components.ts @@ -276,6 +276,7 @@ export const components: CompileAwayComponentsMap = { css: createSingleBinding({ code: JSON.stringify({ gap: `${gutterSize}px`, + alignItems: 'stretch', display: 'flex', ...(properties.stackColumnsAt === 'never' ? {} @@ -286,8 +287,6 @@ export const components: CompileAwayComponentsMap = { properties.reverseColumnsWhenStacked === 'true' ? 'column-reverse' : 'column', - alignItems: 'stretch', - gap: `0px`, }, }), }), @@ -305,10 +304,7 @@ export const components: CompileAwayComponentsMap = { display: 'flex', flexDirection: 'column', alignItems: 'stretch', - lineHeight: 'normal', - width: `${getColumnWidth(index)}`, - marginLeft: `${index === 0 ? 0 : gutterSize}px`, ...(properties.stackColumnsAt === 'never' ? {} : { @@ -316,7 +312,6 @@ export const components: CompileAwayComponentsMap = { properties.stackColumnsAt === 'mobile' ? 640 : 991 }px)`]: { width: '100%', - marginLeft: 0, }, }), }),