Switch Buttons Position

This commit is contained in:
Br0wnHammer committed 2025-06-13 20:40:01 +05:30
1 parent d19bbf2b8e
commit 2d839285f2
1 file changed
+21 -29
+21 -29
View File
@@ -133,26 +133,6 @@ const SettingsEmail = ({
onChange={handleChange}
/>
</Box>
<Box
sx={{
display: "flex",
flexDirection: "column",
gap: theme.spacing(4),
}}
>
<Typography>{t("settingsEmailSecure")}</Typography>
<Switch
name="systemEmailSecure"
checked={systemEmailSecure}
onChange={handleChange}
/>
<Typography>{t("settingsEmailPool")}</Typography>
<Switch
name="systemEmailPool"
checked={systemEmailPool}
onChange={handleChange}
/>
</Box>
<Box>
<Typography>{t("settingsEmailUser")}</Typography>
<TextInput
@@ -213,6 +193,15 @@ const SettingsEmail = ({
onChange={handleChange}
/>
</Box>
<Box>
<Typography>{t("settingsEmailConnectionHost")}</Typography>
<TextInput
name="systemEmailConnectionHost"
placeholder="bluewavelabs.ca"
value={systemEmailConnectionHost}
onChange={handleChange}
/>
</Box>
<Box
sx={{
display: "flex",
@@ -220,6 +209,18 @@ const SettingsEmail = ({
gap: theme.spacing(4),
}}
>
<Typography>{t("settingsEmailSecure")}</Typography>
<Switch
name="systemEmailSecure"
checked={systemEmailSecure}
onChange={handleChange}
/>
<Typography>{t("settingsEmailPool")}</Typography>
<Switch
name="systemEmailPool"
checked={systemEmailPool}
onChange={handleChange}
/>
<Typography>{t("settingsEmailIgnoreTLS")}</Typography>
<Switch
name="systemEmailIgnoreTLS"
@@ -239,15 +240,6 @@ const SettingsEmail = ({
onChange={handleChange}
/>
</Box>
<Box>
<Typography>{t("settingsEmailConnectionHost")}</Typography>
<TextInput
name="systemEmailConnectionHost"
placeholder="bluewavelabs.ca"
value={systemEmailConnectionHost}
onChange={handleChange}
/>
</Box>
<Box>
{systemEmailHost && systemEmailPort && systemEmailAddress && (
<Button