diff --git a/src/preview/PreviewView.js b/src/preview/PreviewView.js index 81e55ec..81fb083 100644 --- a/src/preview/PreviewView.js +++ b/src/preview/PreviewView.js @@ -26,9 +26,9 @@ export class PreviewView extends TemplateView { t.div({className: "preview"}, [ t.p(t.img({className: "avatar", src: vm => vm.avatarUrl})), t.h1(vm => vm.name), - t.p(vm => vm.identifier), - t.p({className: {hidden: vm => !vm.memberCount}}, [vm => vm.memberCount, " members"]), - t.p({className: {hidden: vm => !vm.topic}}, [vm => vm.topic]), + t.p({className: "identifier"}, vm => vm.identifier), + t.p({className: {memberCount: true, hidden: vm => !vm.memberCount}}, [vm => vm.memberCount, " members"]), + t.p({className: {topic: true, hidden: vm => !vm.topic}}, [vm => vm.topic]), ]), t.p({className: {hidden: vm => vm.clientsViewModel}}, t.button({ className: "primary fullwidth",