Make list scrollable

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-17 16:45:36 +05:30
parent abd2c19bf2
commit 7e72d57be7
2 changed files with 6 additions and 1 deletions

View file

@ -33,3 +33,8 @@
justify-content: flex-end;
width: 100%;
}
ul.MemberListView {
overflow: scroll;
height: 100vh;
}

View file

@ -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)));
}
}