diff --git a/striker-ui/components/StrikerInitForm.tsx b/striker-ui/components/StrikerInitForm.tsx index 6f5c62ee..a19006a9 100644 --- a/striker-ui/components/StrikerInitForm.tsx +++ b/striker-ui/components/StrikerInitForm.tsx @@ -259,25 +259,29 @@ const StrikerInitGeneralForm: FC = () => { onChange={handleOrganizationNameInputOnChange} value={organizationNameInput} /> - - - - + + ), + inputProps: { + maxLength: MAX_ORGANIZATION_PREFIX_LENGTH, + style: { width: '2.5em' }, + }, + onBlur: populateHostNameInputOnBlur, + sx: { + minWidth: 'min-content', + width: 'fit-content', + }, + }} + label="Prefix" + onChange={handleOrganizationPrefixInputOnChange} + value={organizationPrefixInput} + /> { onChange={handleHostNumberInputOnChange} value={hostNumberInput} /> - :first-child': { flexGrow: 1 } }}> - - - + , + inputProps: { + style: { + minWidth: '4em', + }, + }, + sx: { + minWidth: 'min-content', + }, + }} + label="Host name" + onChange={handleHostNameInputOnChange} + value={hostNameInput} + /> );