From 9a62a42a095e118dda799470e51167208a3d17ce Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Wed, 28 Aug 2024 18:15:48 -0400 Subject: [PATCH] Fixed old lingering props --- Client/src/Components/Inputs/Field/index.jsx | 16 ++++++++-------- .../Components/TabPanels/Account/TeamPanel.jsx | 10 ++++------ Client/src/Pages/Auth/Register/Register.jsx | 2 +- Client/src/Pages/Incidents/index.jsx | 2 +- .../Pages/PageSpeed/CreatePageSpeed/index.jsx | 2 +- Client/src/Pages/PageSpeed/index.jsx | 2 +- Client/src/Pages/Settings/index.jsx | 4 ++-- Client/src/Utils/Theme.js | 9 +++++++++ 8 files changed, 27 insertions(+), 20 deletions(-) diff --git a/Client/src/Components/Inputs/Field/index.jsx b/Client/src/Components/Inputs/Field/index.jsx index 54781ffa3..3574377d8 100644 --- a/Client/src/Components/Inputs/Field/index.jsx +++ b/Client/src/Components/Inputs/Field/index.jsx @@ -56,7 +56,7 @@ const Field = forwardRef( return ( setVisible((show) => !show)} tabIndex={-1} sx={{ - color: theme.palette.section.borderColor, - padding: `calc(${theme.gap.xs} / 2)`, + color: theme.palette.border.dark, + padding: theme.spacing(1), "&:focus": { outline: "none", }, @@ -183,7 +183,7 @@ const Field = forwardRef( component="span" className="input-error" color={theme.palette.error.text} - mt={theme.gap.xs} + mt={theme.spacing(2)} sx={{ opacity: 0.8, }} diff --git a/Client/src/Components/TabPanels/Account/TeamPanel.jsx b/Client/src/Components/TabPanels/Account/TeamPanel.jsx index 627e508de..1d4a0fa41 100644 --- a/Client/src/Components/TabPanels/Account/TeamPanel.jsx +++ b/Client/src/Components/TabPanels/Account/TeamPanel.jsx @@ -92,9 +92,7 @@ const TeamPanel = () => { id: idx, data: ( - + {member.firstName + " " + member.lastName} @@ -247,7 +245,7 @@ const TeamPanel = () => { }, }} inputProps={{ - sx: { textAlign: "end", padding: theme.gap.small }, + sx: { textAlign: "end", padding: theme.spacing(4) }, }} />