add spacing between label and input field for textinput component

This commit is contained in:
Vishnu Sreekumaran Nair
2025-05-07 15:04:08 -04:00
parent 7c8aea0323
commit 376b820ff4
3 changed files with 4 additions and 2 deletions
@@ -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 && <Required />}
+1 -1
View File
@@ -350,7 +350,7 @@ const Settings = () => {
</Box>
{isApiKeySet && (
<Button onClick={handleResetApiKey} variant="contained" color="error">
Reset
{t("reset")}
</Button>
)}
</Stack>
+2 -1
View File
@@ -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"
}