From 60b280bbf996487b6c99db9d6e90f76d6607e2a6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 2 Dec 2020 13:16:32 +0100 Subject: [PATCH] css classes for extra preview fields --- src/preview/PreviewView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",