From b9949a4b7dd5ec3ba026ff879168aa71f7f2f10c Mon Sep 17 00:00:00 2001 From: Jatin Mehta Date: Wed, 4 Dec 2024 23:59:02 +0530 Subject: [PATCH] update responsive design dashboard --- .../app/routes/Dashboards/DashboardPage.js | 32 +++++-------------- admin-ui/app/routes/Dashboards/styles.js | 7 ++-- 2 files changed, 12 insertions(+), 27 deletions(-) diff --git a/admin-ui/app/routes/Dashboards/DashboardPage.js b/admin-ui/app/routes/Dashboards/DashboardPage.js index 696c576c2..3ccd9029c 100644 --- a/admin-ui/app/routes/Dashboards/DashboardPage.js +++ b/admin-ui/app/routes/Dashboards/DashboardPage.js @@ -295,13 +295,8 @@ function DashboardPage() { canShow={hasBoth(permissions, STAT_READ, STAT_JANS_READ)} >
- - + +
- + {StatusCard} - +
diff --git a/admin-ui/app/routes/Dashboards/styles.js b/admin-ui/app/routes/Dashboards/styles.js index dac96dbaf..af5022292 100644 --- a/admin-ui/app/routes/Dashboards/styles.js +++ b/admin-ui/app/routes/Dashboards/styles.js @@ -4,6 +4,8 @@ const styles = makeStyles()({ root: { color: "#FFFFFF", maxWidth: "100vw", + height: "100vh", + overflow:"auto" }, flex: { flexGrow: 1, @@ -13,8 +15,8 @@ const styles = makeStyles()({ display: "block", }, summary: { - height: "74px", - width: "70%", + height: "auto", + width: "100%", display: "flex", justifyContent: "space-between", border: "3px solid #FFF", @@ -106,7 +108,6 @@ const styles = makeStyles()({ borderRadius: 24, height: "auto", color: "#303641", - minWidth: 350, }, userInfoTitle: { fontWeight: "bold",