fix: cosmetic webUI improvements

mainly in custom board profile and analog sensors settings. Now it looks more consistent with other settings pages.
This commit is contained in:
pswid
2022-11-07 10:41:57 +01:00
parent 757fcd3ea4
commit f25262c191
3 changed files with 61 additions and 54 deletions

View File

@@ -219,7 +219,7 @@ const MqttSettingsForm: FC = () => {
/>
</Grid>
{data.ha_enabled && (
<Grid item xs={6}>
<Grid item xs={2}>
<ValidatedTextField
name="discovery_prefix"
label={LL.MQTT_PUBLISH_TEXT_4()}
@@ -227,7 +227,7 @@ const MqttSettingsForm: FC = () => {
variant="outlined"
value={data.discovery_prefix}
onChange={updateFormValue}
margin="normal"
size="small"
/>
</Grid>
)}