From 6ef1d94350496b82fe85a024214c6ed491b064cd Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Tue, 30 Jan 2024 06:52:35 +0100 Subject: [PATCH] chore: minor styling changes --- js/src/forum/components/Poll/PollTitle.tsx | 2 +- resources/less/forum.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/js/src/forum/components/Poll/PollTitle.tsx b/js/src/forum/components/Poll/PollTitle.tsx index 0ff3c7c0..33d2d6a6 100644 --- a/js/src/forum/components/Poll/PollTitle.tsx +++ b/js/src/forum/components/Poll/PollTitle.tsx @@ -7,6 +7,6 @@ interface PollTitleAttrs extends ComponentAttrs { export default class PollTitle extends Component { view(): Mithril.Children { - return

{this.attrs.text}

; + return

{this.attrs.text}

; } } diff --git a/resources/less/forum.less b/resources/less/forum.less index 3c229e83..55cb184f 100755 --- a/resources/less/forum.less +++ b/resources/less/forum.less @@ -404,6 +404,10 @@ // gap: 10px; } +.Poll-description { + color: var(--muted-color); +} + .Poll-options { display: grid; gap: 10px; @@ -486,6 +490,7 @@ .PollOption-description { display: block; + color: var(--muted-color); } .PollOption-tmp:has(.PollOption-input:checked) {