add spacing between label and input field for textinput component
This commit is contained in:
1 parent
7c8aea0323
commit
376b820ff4
3 files changed
+4
-2
No files matched your search
@@ -116,6 +116,7 @@ const TextInput = forwardRef(
|
|||||||
fontSize={"var(--env-var-font-size-medium)"}
|
fontSize={"var(--env-var-font-size-medium)"}
|
||||||
color={theme.palette.primary.contrastTextSecondary}
|
color={theme.palette.primary.contrastTextSecondary}
|
||||||
fontWeight={500}
|
fontWeight={500}
|
||||||
|
mb={theme.spacing(2)}
|
||||||
>
|
>
|
||||||
{label}
|
{label}
|
||||||
{isRequired && <Required />}
|
{isRequired && <Required />}
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ const Settings = () => {
|
|||||||
</Box>
|
</Box>
|
||||||
{isApiKeySet && (
|
{isApiKeySet && (
|
||||||
<Button onClick={handleResetApiKey} variant="contained" color="error">
|
<Button onClick={handleResetApiKey} variant="contained" color="error">
|
||||||
Reset
|
{t("reset")}
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -415,5 +415,6 @@
|
|||||||
"pageSpeedApiKeyFieldTitle": "Google PageSpeed API key",
|
"pageSpeedApiKeyFieldTitle": "Google PageSpeed API key",
|
||||||
"pageSpeedApiKeyFieldLabel": "PageSpeed API key",
|
"pageSpeedApiKeyFieldLabel": "PageSpeed API key",
|
||||||
"pageSpeedApiKeyFieldDescription": "Enter your Google PageSpeed API key to enable pagespeed monitoring. Click Reset to update the 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"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user