From a603e062dcf69699a5c033f80f090fc47dd75c12 Mon Sep 17 00:00:00 2001 From: Xavier Rutayisire Date: Wed, 6 Sep 2023 21:05:38 +0200 Subject: [PATCH] feat(Slices Templates): Improve template image size --- .../adapter-next/src/sliceTemplates/CallToAction/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/adapter-next/src/sliceTemplates/CallToAction/index.ts b/packages/adapter-next/src/sliceTemplates/CallToAction/index.ts index 6128d5cc78..6235dd5dc7 100644 --- a/packages/adapter-next/src/sliceTemplates/CallToAction/index.ts +++ b/packages/adapter-next/src/sliceTemplates/CallToAction/index.ts @@ -190,8 +190,6 @@ export const createComponentContents = (
{isFilled.image(slice.primary.image) && ( @@ -258,6 +256,8 @@ export const createComponentContents = ( .es-call-to-action__image { max-width: 14rem; + height: auto; + width: auto; justify-self: \${alignment}; } @@ -331,8 +331,6 @@ export const createComponentContents = (
{isFilled.image(slice.primary.image) && ( @@ -399,6 +397,8 @@ export const createComponentContents = ( .es-call-to-action__image { max-width: 14rem; + height: auto; + width: auto; justify-self: \${alignment}; }