From 02e279a8a0349332cfd1ea65a681ea18af706ca4 Mon Sep 17 00:00:00 2001 From: stakbucks Date: Wed, 21 Aug 2024 21:42:27 +0900 Subject: [PATCH] fix: step container offset height --- apps/bottle/src/components/stepper/stepperStyle.css.ts | 1 + apps/bottle/src/features/steps/stepStyle.css.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/bottle/src/components/stepper/stepperStyle.css.ts b/apps/bottle/src/components/stepper/stepperStyle.css.ts index c2c35fd..49a72d8 100644 --- a/apps/bottle/src/components/stepper/stepperStyle.css.ts +++ b/apps/bottle/src/components/stepper/stepperStyle.css.ts @@ -12,4 +12,5 @@ export const containerStyle = style({ gap: spacings.xxs, margin: `${spacings.xl} 0`, padding: `0 ${spacings.xs}`, + overflow: 'hidden', }); diff --git a/apps/bottle/src/features/steps/stepStyle.css.ts b/apps/bottle/src/features/steps/stepStyle.css.ts index 430655f..0747f49 100644 --- a/apps/bottle/src/features/steps/stepStyle.css.ts +++ b/apps/bottle/src/features/steps/stepStyle.css.ts @@ -9,7 +9,8 @@ export const CTA_HEIGHT = 109; * the Bottom CTA's gradient overlaps with the body of the Step Container. */ export const OVERLAP_HEIGHT = 20; -export const CONTAINER_OFFSET_HEIGHT = HEADER_HEIGHT + CTA_HEIGHT; +const STEPPER_HEIGHT = 26; +export const CONTAINER_OFFSET_HEIGHT = HEADER_HEIGHT + CTA_HEIGHT + STEPPER_HEIGHT; export const buttonContainer = style({ position: 'fixed',