feat: Updates to Collaboration and RTL UX (#2994)

This commit is contained in:
Jed Fox 2021-02-08 15:43:51 -05:00 committed by GitHub
parent 4085071347
commit 73cba59d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 28 deletions

View file

@ -32,6 +32,16 @@
display: flex;
align-items: center;
justify-content: center;
@media #{$is-mobile-query} {
flex-direction: column;
align-items: stretch;
}
}
@media #{$is-mobile-query} {
.RoomDialog-usernameLabel {
font-weight: bold;
}
}
.RoomDialog-username {
@ -41,6 +51,10 @@
min-width: 0;
flex: 1 1 auto;
margin-inline-start: 1em;
@media #{$is-mobile-query} {
margin-top: 0.5em;
margin-inline-start: 0;
}
height: 2.5rem;
font-size: 1em;
line-height: 1.5;

View file

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