fix: Compact invite dialog layout

closes #6819
This commit is contained in:
Tom Moor
2024-04-17 19:26:54 -04:00
parent 2a5c13c2ba
commit e33ca19e64
3 changed files with 6 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ function Invite({ onSubmit }: Props) {
labelHidden={index !== 0}
onKeyDown={handleKeyDown}
onChange={(ev) => handleChange(ev, index)}
placeholder={`example@${predictedDomain}`}
placeholder={`name@${predictedDomain}`}
value={invite.email}
required={index === 0}
autoFocus
@@ -254,6 +254,8 @@ function Invite({ onSubmit }: Props) {
const StyledInput = styled(Input)`
margin-bottom: -4px;
min-width: 0;
flex-shrink: 1;
`;
export default observer(Invite);