mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00: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 (
|
return (
|
||||||
<Column overflow="hidden">
|
<Column overflow="hidden">
|
||||||
<Grid>
|
<Grid overflow="hidden">
|
||||||
<Column size={ 6 }>
|
<Column size={ 6 } gap={ 1 } overflow="auto">
|
||||||
<Column gap={ 1 }>
|
<Column gap={ 1 }>
|
||||||
<Text>{ LocalizeText('navigator.createroom.roomnameinfo') }</Text>
|
<Text>{ LocalizeText('navigator.createroom.roomnameinfo') }</Text>
|
||||||
<input type="text" className="form-control form-control-sm" onChange={ event => setName(event.target.value) } />
|
<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>
|
||||||
<Column size={ 12 }>
|
|
||||||
<Button variant="success" onClick={ createRoom } disabled={ (!name || (name.length < 3)) }>{ LocalizeText('navigator.createroom.create') }</Button>
|
|
||||||
</Column>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
<Button fullWidth variant="success" onClick={ createRoom } disabled={ (!name || (name.length < 3)) }>{ LocalizeText('navigator.createroom.create') }</Button>
|
||||||
</Column>
|
</Column>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user