Put sidebar rows into container

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-01 21:06:22 +05:30
parent f1fe17fe65
commit d3d65d89ba
2 changed files with 10 additions and 3 deletions

View file

@ -808,7 +808,11 @@ button.link {
.RoomId {
color: #737D8C;
font-size: 12px;
margin-bottom: 36px;
}
.SidebarRow_collection{
margin-top: 36px;
width: 100%;
}
.RoomName h2 {

View file

@ -13,8 +13,11 @@ export class RoomInfoView extends TemplateView {
[t.view(new AvatarView(vm, 52)), this._createEncryptionIcon(vm.isEncrypted)]),
t.div({ className: "RoomName" }, [t.h2(vm.name)]),
t.div({ className: "RoomId" }, [text(vm.roomId)]),
this._createSideBarRow("People", vm.memberCount, { MemberCount: true }),
this._createSideBarRow("Encryption", encryptionString, { EncryptionStatus: true })
t.div({ className: "SidebarRow_collection" },
[
this._createSideBarRow("People", vm.memberCount, { MemberCount: true }),
this._createSideBarRow("Encryption", encryptionString, { EncryptionStatus: true })
])
]);
}