From 145c826dc22a0a55266315cb3e4c3defc8e48a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bonnet?= Date: Wed, 30 Oct 2024 12:45:44 +0100 Subject: [PATCH] fix(new-cluster-page): responsive alignment (#1744) --- .../src/lib/feature/page-new-feature/page-new-feature.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/pages/clusters/src/lib/feature/page-new-feature/page-new-feature.tsx b/libs/pages/clusters/src/lib/feature/page-new-feature/page-new-feature.tsx index e8103f6f962..53afddf16ff 100644 --- a/libs/pages/clusters/src/lib/feature/page-new-feature/page-new-feature.tsx +++ b/libs/pages/clusters/src/lib/feature/page-new-feature/page-new-feature.tsx @@ -97,7 +97,7 @@ function CardOption({ icon, title, description, selectedCloudProvider, recommend } const baseClassNames = - 'flex text-left items-start gap-4 relative rounded shadow border border-neutral-200 outline outline-2 outline-transparent transition-all hover:border-brand-500 -outline-offset-2 hover:outline-brand-500 bg-white p-5 transition w-[calc(100%/2-20px)] lg:w-[calc(100%/3-20px)]' + 'flex text-left items-start gap-4 relative rounded shadow border border-neutral-200 outline outline-2 outline-transparent transition-all hover:border-brand-500 -outline-offset-2 hover:outline-brand-500 bg-white p-5 transition w-[397px] xl:w-[calc(100%/3-20px)]' return match(props) .with({ selectedInstallationType: 'self-managed' }, ({ selectedInstallationType, openInstallationGuideModal }) => ( @@ -281,7 +281,7 @@ function CardCluster({ title, description, icon, index = 1, ...props }: CardClus

{title}

{selectedInstallationType === 'demo' ? ( - + 3min to setup ) : (