mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Fix room creator
This commit is contained in:
parent
4205bccb4f
commit
5461542a13
@ -65,8 +65,8 @@ export const NavigatorRoomCreatorView: FC<{}> = props =>
|
||||
|
||||
return (
|
||||
<Column overflow="hidden">
|
||||
<Grid>
|
||||
<Column size={ 6 }>
|
||||
<Grid overflow="hidden">
|
||||
<Column size={ 6 } gap={ 1 } overflow="auto">
|
||||
<Column gap={ 1 }>
|
||||
<Text>{ LocalizeText('navigator.createroom.roomnameinfo') }</Text>
|
||||
<input type="text" className="form-control form-control-sm" onChange={ event => setName(event.target.value) } />
|
||||
@ -116,10 +116,8 @@ export const NavigatorRoomCreatorView: FC<{}> = props =>
|
||||
})
|
||||
}
|
||||
</Column>
|
||||
<Column size={ 12 }>
|
||||
<Button variant="success" onClick={ createRoom } disabled={ (!name || (name.length < 3)) }>{ LocalizeText('navigator.createroom.create') }</Button>
|
||||
</Column>
|
||||
</Grid>
|
||||
<Button fullWidth variant="success" onClick={ createRoom } disabled={ (!name || (name.length < 3)) }>{ LocalizeText('navigator.createroom.create') }</Button>
|
||||
</Column>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user