diff --git a/interface/src/SignIn.tsx b/interface/src/SignIn.tsx index fc6d73c6a..e783a34e2 100644 --- a/interface/src/SignIn.tsx +++ b/interface/src/SignIn.tsx @@ -102,23 +102,27 @@ const SignIn = memo(() => { width: '100%' })} > - {PROJECT_NAME} - + + {PROJECT_NAME} + - - + { fieldErrors={fieldErrors || {}} disabled={processing} sx={{ - width: 240 + width: '32ch' }} name="password" label={LL.PASSWORD()} value={signInRequest.password} onChange={updateLoginRequestValue} onKeyDown={submitOnEnter} - variant="outlined" /> diff --git a/interface/src/components/inputs/ValidatedTextField.tsx b/interface/src/components/inputs/ValidatedTextField.tsx index c12ee6d3e..1660af29d 100644 --- a/interface/src/components/inputs/ValidatedTextField.tsx +++ b/interface/src/components/inputs/ValidatedTextField.tsx @@ -15,6 +15,7 @@ export type ValidatedTextFieldProps = ValidatedFieldProps & TextFieldProps; const ValidatedTextField: FC = ({ fieldErrors, + sx, ...rest }) => { const errors = fieldErrors?.[rest.name]; @@ -28,7 +29,8 @@ const ValidatedTextField: FC = ({ sx={{ '& .MuiInputBase-input.Mui-disabled': { WebkitTextFillColor: 'grey' - } + }, + ...(sx || {}) }} {...(rest.disabled && { slotProps: {