mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
Add a top-level class for CreateRoomView
And rename inner class to CreateRoomView_body, for consistency with other views. For consistency with other views.
This commit is contained in:
parent
86e9e0c99e
commit
d66e8c7118
@ -1180,7 +1180,7 @@ button.RoomDetailsView_row::after {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.CreateRoomView, .JoinRoomView, .RoomBeingCreated_error {
|
||||
.CreateRoomView_body, .JoinRoomView, .RoomBeingCreated_error {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
|
@ -21,8 +21,8 @@ import {StaticView} from "../general/StaticView";
|
||||
|
||||
export class CreateRoomView extends TemplateView {
|
||||
render(t, vm) {
|
||||
return t.main({className: "middle"},
|
||||
t.div({className: "CreateRoomView centered-column"}, [
|
||||
return t.main({className: "CreateRoomView middle"},
|
||||
t.div({className: "CreateRoomView_body centered-column"}, [
|
||||
t.h2("Create room"),
|
||||
//t.div({className: "RoomView_error"}, vm => vm.error),
|
||||
t.form({className: "CreateRoomView_detailsForm form", onChange: evt => this.onFormChange(evt), onSubmit: evt => this.onSubmit(evt)}, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user