interface: normalize joinGroup modal

This commit is contained in:
Liam Fitzgerald 2021-02-05 09:27:37 +10:00
parent d9ab3c9fba
commit 6eb234b8a7
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -127,14 +127,14 @@ export function JoinGroup(props: JoinGroupProps) {
return (
<>
<Col width="100%" alignItems="center" overflowY="auto" p="4">
<Col overflowY="auto" p="3">
<Box mb={3}>
<Text fontSize="2" fontWeight="bold">
Join a Group
</Text>
</Box>
{_.isString(preview) ? (
<Col width="100%" maxWidth="300px" gapY="4">
<Col width="100%" gapY="4">
<Text>The host appears to be offline. Join anyway?</Text>
<StatelessAsyncButton primary name="join" onClick={onConfirm}>
Join anyway
@ -175,7 +175,7 @@ export function JoinGroup(props: JoinGroupProps) {
</StatelessAsyncButton>
</GroupSummary>
) : (
<Col width="100%" maxWidth="300px" gapY="4">
<Col width="100%" gapY="4">
<Formik
validationSchema={formSchema}
initialValues={initialValues}