Put sidebar rows into container
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
f1fe17fe65
commit
d3d65d89ba
2 changed files with 10 additions and 3 deletions
|
@ -808,7 +808,11 @@ button.link {
|
||||||
.RoomId {
|
.RoomId {
|
||||||
color: #737D8C;
|
color: #737D8C;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-bottom: 36px;
|
}
|
||||||
|
|
||||||
|
.SidebarRow_collection{
|
||||||
|
margin-top: 36px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.RoomName h2 {
|
.RoomName h2 {
|
||||||
|
|
|
@ -13,8 +13,11 @@ export class RoomInfoView extends TemplateView {
|
||||||
[t.view(new AvatarView(vm, 52)), this._createEncryptionIcon(vm.isEncrypted)]),
|
[t.view(new AvatarView(vm, 52)), this._createEncryptionIcon(vm.isEncrypted)]),
|
||||||
t.div({ className: "RoomName" }, [t.h2(vm.name)]),
|
t.div({ className: "RoomName" }, [t.h2(vm.name)]),
|
||||||
t.div({ className: "RoomId" }, [text(vm.roomId)]),
|
t.div({ className: "RoomId" }, [text(vm.roomId)]),
|
||||||
|
t.div({ className: "SidebarRow_collection" },
|
||||||
|
[
|
||||||
this._createSideBarRow("People", vm.memberCount, { MemberCount: true }),
|
this._createSideBarRow("People", vm.memberCount, { MemberCount: true }),
|
||||||
this._createSideBarRow("Encryption", encryptionString, { EncryptionStatus: true })
|
this._createSideBarRow("Encryption", encryptionString, { EncryptionStatus: true })
|
||||||
|
])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue