Add a top-level class to JoinRoomView

This commit is contained in:
Paulo Pinto 2022-12-13 17:36:28 +00:00
parent f8d71dea9f
commit 11f04fbc14
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View File

@ -1180,7 +1180,7 @@ button.RoomDetailsView_row::after {
gap: 12px;
}
.CreateRoomView_body, .JoinRoomView, .RoomBeingCreated_error {
.CreateRoomView_body, .JoinRoomView_body, .RoomBeingCreated_error {
max-width: 400px;
}

View File

@ -27,8 +27,8 @@ export class JoinRoomView extends TemplateView<JoinRoomViewModel> {
placeholder: vm.i18n`Enter a room id or alias`,
disabled: vm => vm.joinInProgress,
});
return t.main({className: "middle"},
t.div({className: "JoinRoomView centered-column"}, [
return t.main({className: "JoinRoomView middle"},
t.div({className: "JoinRoomView_body centered-column"}, [
t.h2("Join room"),
t.form({className: "JoinRoomView_detailsForm form", onSubmit: evt => this.onSubmit(evt, input.value)}, [
t.div({className: "vertical-layout"}, [
@ -60,4 +60,3 @@ export class JoinRoomView extends TemplateView<JoinRoomViewModel> {
this.value.join(id);
}
}