From 624d9dfd391ff5db549c64e0c5fac4c2bbe6130c Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Thu, 30 Mar 2023 18:35:05 +0530 Subject: [PATCH] fix: icon and ellipsis (#622) * fix: consistent icon for end date for cycle card * fix: sidebar ellipsis fix --- apps/app/components/cycles/sidebar.tsx | 6 +++--- apps/app/components/cycles/single-cycle-card.tsx | 3 ++- apps/app/components/modules/sidebar.tsx | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/app/components/cycles/sidebar.tsx b/apps/app/components/cycles/sidebar.tsx index 3014f0dba..27dd56584 100644 --- a/apps/app/components/cycles/sidebar.tsx +++ b/apps/app/components/cycles/sidebar.tsx @@ -288,9 +288,9 @@ export const CycleDetailsSidebar: React.FC = ({ -
-
-
+
+
+

{cycle.name}

diff --git a/apps/app/components/cycles/single-cycle-card.tsx b/apps/app/components/cycles/single-cycle-card.tsx index 33fb67e23..be789d343 100644 --- a/apps/app/components/cycles/single-cycle-card.tsx +++ b/apps/app/components/cycles/single-cycle-card.tsx @@ -15,6 +15,7 @@ import { CustomMenu, LinearProgressIndicator, Tooltip } from "components/ui"; import { Disclosure, Transition } from "@headlessui/react"; // icons import { CalendarDaysIcon } from "@heroicons/react/20/solid"; +import { TargetIcon } from "components/icons"; import { ChevronDownIcon, DocumentDuplicateIcon, @@ -269,7 +270,7 @@ export const SingleCycleCard: React.FC = ({ {renderShortDateWithYearFormat(startDate)}
- + End : {renderShortDateWithYearFormat(endDate)}
diff --git a/apps/app/components/modules/sidebar.tsx b/apps/app/components/modules/sidebar.tsx index b70266587..7c986078c 100644 --- a/apps/app/components/modules/sidebar.tsx +++ b/apps/app/components/modules/sidebar.tsx @@ -327,9 +327,9 @@ export const ModuleDetailsSidebar: React.FC = ({
-
-
-
+
+
+

{module.name}