From 5a11f521ab1df4ad6fcbc642d5c8aa09f9288029 Mon Sep 17 00:00:00 2001 From: itsvick Date: Sun, 1 Dec 2024 22:05:12 +0530 Subject: [PATCH] Issue #PS-0000 fix: Fixed UI --- src/pages/course-planner/index.tsx | 88 +++++++++++++++--------------- 1 file changed, 43 insertions(+), 45 deletions(-) diff --git a/src/pages/course-planner/index.tsx b/src/pages/course-planner/index.tsx index 12fc6589..dbe318dc 100644 --- a/src/pages/course-planner/index.tsx +++ b/src/pages/course-planner/index.tsx @@ -208,14 +208,12 @@ const Foundation = () => { - - {role === "Central Admin CCTA" ? ( - stateNames.map((stateName) => ( + + {role === "Central Admin CCTA" ? ( + stateNames.map((stateName) => ( + { marginLeft: "15px", marginBottom: "10px", marginRight: "10px", - width: "250px", + width: "90%", "&:hover": { backgroundColor: "#D0C5B4", }, @@ -256,49 +254,49 @@ const Foundation = () => { - )) - ) : ( + + )) + ) : ( + handleCardClick(store?.matchingstate?.name)} + > handleCardClick(store?.matchingstate?.name)} > - + {store?.matchingstate?.name} + + + - + {/* Add any icon or text for the copy link button */} + - )} - + + )} )} @@ -315,4 +313,4 @@ export async function getStaticProps({ locale }: { locale: string }) { ...(await serverSideTranslations(locale, ["common"])), }, }; -} +} \ No newline at end of file