From 5cbec23d5e0dc153864a29405c499b5f3dad7466 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:43:48 +0530 Subject: [PATCH] fix: cycle card title responsiveness added (#2752) --- web/components/cycles/cycles-board-card.tsx | 52 ++++++++++----------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/web/components/cycles/cycles-board-card.tsx b/web/components/cycles/cycles-board-card.tsx index b9398c4a7..7de04172f 100644 --- a/web/components/cycles/cycles-board-card.tsx +++ b/web/components/cycles/cycles-board-card.tsx @@ -152,34 +152,32 @@ export const CyclesBoardCard: FC = (props) => { -
-
-
- - +
+
+ + + + + {cycle.name} + +
+
+ {currentCycle && ( + + {currentCycle.value === "current" + ? `${findHowManyDaysLeft(cycle.end_date ?? new Date())} ${currentCycle.label}` + : `${currentCycle.label}`} - - {cycle.name} - -
-
- {currentCycle && ( - - {currentCycle.value === "current" - ? `${findHowManyDaysLeft(cycle.end_date ?? new Date())} ${currentCycle.label}` - : `${currentCycle.label}`} - - )} - -
+ )} +