From 6d817cb88c7d62a59b0ac47ea337eb9326bdb535 Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Thu, 18 Sep 2025 13:03:38 +0300 Subject: [PATCH] chore: fix invalid CSS margin value causing warnings --- src/components/AlertBanner/AlertBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AlertBanner/AlertBanner.tsx b/src/components/AlertBanner/AlertBanner.tsx index 9e2ce552..88031258 100644 --- a/src/components/AlertBanner/AlertBanner.tsx +++ b/src/components/AlertBanner/AlertBanner.tsx @@ -17,7 +17,7 @@ const AlertBanner: FC<{ center?: boolean }> = ({ center = false }) => { background: 'var(--sq-blue600)', border: 'none', padding: isMobile ? '14px' : '14px 80px', - margin: center ? '0 auto' : '', + margin: center ? '0 auto' : undefined, width: isMobile ? '100%' : center ? '1440px' : '100%', position: 'relative', zIndex: 1,