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:
Paulo Pinto 2022-12-13 17:19:07 +00:00
parent 86e9e0c99e
commit d66e8c7118
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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)}, [