mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Make list scrollable
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
abd2c19bf2
commit
7e72d57be7
@ -33,3 +33,8 @@
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
ul.MemberListView {
|
||||
overflow: scroll;
|
||||
height: 100vh;
|
||||
}
|
||||
|
@ -4,6 +4,6 @@ import {MemberTileView} from "./MemberTileView.js";
|
||||
|
||||
export class MemberListView extends TemplateView {
|
||||
render(t, vm) {
|
||||
return t.view(new ListView({list: vm.memberTileViewModels}, tileViewModel => new MemberTileView(tileViewModel)));
|
||||
return t.view(new ListView({list: vm.memberTileViewModels, className:"MemberListView"}, tileViewModel => new MemberTileView(tileViewModel)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user