[FIX] Create discussion modal - cancel button and invite users alignment (#22718)

Co-authored-by: gabriellsh <40830821+gabriellsh@users.noreply.github.com>
pull/22791/head
Leonardo Ostjen Couto 4 years ago committed by GitHub
parent 6efa012a26
commit 3e5fae3530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      client/components/CreateDiscussion/CreateDiscussion.tsx

@ -139,7 +139,7 @@ const CreateDiscussion = ({
</Field>
<Field>
<Field.Label>{t('Invite_Users')}</Field.Label>
<Field.Row>
<Field.Row w='full' display='flex' flexDirection='column' alignItems='stretch'>
<UserAutoCompleteMultiple
value={usernames}
onChange={onChangeUsers}
@ -168,6 +168,7 @@ const CreateDiscussion = ({
</Modal.Content>
<Modal.Footer>
<ButtonGroup align='end'>
<Button onClick={onClose}>{t('Cancel')}</Button>
<Button primary disabled={!canCreate} onClick={create}>
{t('Create')}
</Button>

Loading…
Cancel
Save