From 96bcc76d695ee7e26ad2538e1733f439e6a2983b Mon Sep 17 00:00:00 2001 From: Fringg Date: Fri, 27 Feb 2026 08:51:56 +0300 Subject: [PATCH] fix: prevent countdown timer overflow on narrow mobile screens Add min-w-0 + overflow-hidden to the countdown card to prevent it from blowing out the grid column. Reduce number font from 20px to 18px on mobile (20px on sm+), tighten gaps and colon sizes to fit within the 50% grid column on 375px screens. --- src/pages/Subscription.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pages/Subscription.tsx b/src/pages/Subscription.tsx index 52733bf..ec29ae3 100644 --- a/src/pages/Subscription.tsx +++ b/src/pages/Subscription.tsx @@ -60,7 +60,7 @@ const CountdownTimer = memo(function CountdownTimer({ return (
) : ( -
+
{countdown.days > 0 && ( <> {countdown.days} - + {t('subscription.daysShort')} )} {String(countdown.hours).padStart(2, '0')} : {String(countdown.minutes).padStart(2, '0')} : {String(countdown.seconds).padStart(2, '0')}