align signon username/password boxes

This commit is contained in:
proddy
2025-11-22 22:58:17 +01:00
parent b9566ae1d6
commit eb71996e6a
2 changed files with 15 additions and 10 deletions

View File

@@ -15,6 +15,7 @@ export type ValidatedTextFieldProps = ValidatedFieldProps & TextFieldProps;
const ValidatedTextField: FC<ValidatedTextFieldProps> = ({
fieldErrors,
sx,
...rest
}) => {
const errors = fieldErrors?.[rest.name];
@@ -28,7 +29,8 @@ const ValidatedTextField: FC<ValidatedTextFieldProps> = ({
sx={{
'& .MuiInputBase-input.Mui-disabled': {
WebkitTextFillColor: 'grey'
}
},
...(sx || {})
}}
{...(rest.disabled && {
slotProps: {