feat: Require use of a preset dialog size; adjust dialog sizing (#2684)

This commit is contained in:
Jed Fox
2020-12-27 17:07:05 -05:00
committed by GitHub
parent 0488b7b5c6
commit 3b0fb1562d
6 changed files with 7 additions and 19 deletions

View File

@ -123,11 +123,7 @@ const RoomDialog = ({
);
};
return (
<Dialog
maxWidth={800}
onCloseRequest={handleClose}
title={t("labels.createRoom")}
>
<Dialog small onCloseRequest={handleClose} title={t("labels.createRoom")}>
{renderRoomDialog()}
</Dialog>
);