Make list scrollable
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
abd2c19bf2
commit
7e72d57be7
2 changed files with 6 additions and 1 deletions
|
@ -33,3 +33,8 @@
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul.MemberListView {
|
||||||
|
overflow: scroll;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
|
@ -4,6 +4,6 @@ import {MemberTileView} from "./MemberTileView.js";
|
||||||
|
|
||||||
export class MemberListView extends TemplateView {
|
export class MemberListView extends TemplateView {
|
||||||
render(t, vm) {
|
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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue