From 376b820ff42284e93143116e978ff60d65acc5ac Mon Sep 17 00:00:00 2001
From: Vishnu Sreekumaran Nair <200557136@student.georgianc.on.ca>
Date: Wed, 7 May 2025 15:04:08 -0400
Subject: [PATCH] add spacing between label and input field for textinput
component
---
client/src/Components/Inputs/TextInput/index.jsx | 1 +
client/src/Pages/Settings/index.jsx | 2 +-
client/src/locales/gb.json | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/client/src/Components/Inputs/TextInput/index.jsx b/client/src/Components/Inputs/TextInput/index.jsx
index 38a6b6161..2e4313c26 100644
--- a/client/src/Components/Inputs/TextInput/index.jsx
+++ b/client/src/Components/Inputs/TextInput/index.jsx
@@ -116,6 +116,7 @@ const TextInput = forwardRef(
fontSize={"var(--env-var-font-size-medium)"}
color={theme.palette.primary.contrastTextSecondary}
fontWeight={500}
+ mb={theme.spacing(2)}
>
{label}
{isRequired && }
diff --git a/client/src/Pages/Settings/index.jsx b/client/src/Pages/Settings/index.jsx
index 34ff60cb2..8328dafb3 100644
--- a/client/src/Pages/Settings/index.jsx
+++ b/client/src/Pages/Settings/index.jsx
@@ -350,7 +350,7 @@ const Settings = () => {
{isApiKeySet && (
)}
diff --git a/client/src/locales/gb.json b/client/src/locales/gb.json
index c14f98c1d..1b40dcf56 100644
--- a/client/src/locales/gb.json
+++ b/client/src/locales/gb.json
@@ -415,5 +415,6 @@
"pageSpeedApiKeyFieldTitle": "Google PageSpeed API key",
"pageSpeedApiKeyFieldLabel": "PageSpeed API key",
"pageSpeedApiKeyFieldDescription": "Enter your Google PageSpeed API key to enable pagespeed monitoring. Click Reset to update the key.",
- "pageSpeedApiKeyFieldResetLabel": "API key is set. Click Reset to change it."
+ "pageSpeedApiKeyFieldResetLabel": "API key is set. Click Reset to change it.",
+ "reset": "Reset"
}