From 49f9f1429a08e3b08a60b7313b43724db33f39f1 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Tue, 23 Jul 2024 17:32:41 -0400 Subject: [PATCH 1/2] Added styling and basic filtering to incidents page --- Client/src/Components/BasicTable/index.css | 1 - .../TabPanels/Account/TeamPanel.jsx | 15 +++- Client/src/Pages/Incidents/index.css | 17 +++++ Client/src/Pages/Incidents/index.jsx | 69 ++++++++++++++----- Client/src/Utils/Theme.js | 2 + Client/src/index.css | 1 - 6 files changed, 81 insertions(+), 24 deletions(-) diff --git a/Client/src/Components/BasicTable/index.css b/Client/src/Components/BasicTable/index.css index 221c66494..5e2a7424e 100644 --- a/Client/src/Components/BasicTable/index.css +++ b/Client/src/Components/BasicTable/index.css @@ -77,7 +77,6 @@ } .MuiPaper-root + .MuiPagination-root { - flex: 1; margin-top: 35px; border: solid 1px var(--env-var-color-16); border-radius: var(--env-var-radius-1); diff --git a/Client/src/Components/TabPanels/Account/TeamPanel.jsx b/Client/src/Components/TabPanels/Account/TeamPanel.jsx index 77b8ba12b..8745a3037 100644 --- a/Client/src/Components/TabPanels/Account/TeamPanel.jsx +++ b/Client/src/Components/TabPanels/Account/TeamPanel.jsx @@ -282,19 +282,28 @@ const TeamPanel = () => { level="secondary" label="All" onClick={() => setFilter("all")} - sx={{ backgroundColor: filter === "all" && "#f4f4f4" }} + sx={{ + backgroundColor: + filter === "all" && theme.palette.otherColors.fillGray, + }} />