mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Add a top-level class to JoinRoomView
This commit is contained in:
parent
f8d71dea9f
commit
11f04fbc14
@ -1180,7 +1180,7 @@ button.RoomDetailsView_row::after {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.CreateRoomView_body, .JoinRoomView, .RoomBeingCreated_error {
|
||||
.CreateRoomView_body, .JoinRoomView_body, .RoomBeingCreated_error {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user