From 3f6fbbaf05e42853871826c8d2bd0c3debef1f85 Mon Sep 17 00:00:00 2001
From: Marie <marie@kaifa.ch>
Date: Wed, 27 Dec 2023 23:30:25 +0100
Subject: upd: improve indication of multiple poll

Closes #202
---
 packages/frontend/src/components/MkPoll.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/frontend/src/components/MkPoll.vue')

diff --git a/packages/frontend/src/components/MkPoll.vue b/packages/frontend/src/components/MkPoll.vue
index 641b17d066..6ee0c44658 100644
--- a/packages/frontend/src/components/MkPoll.vue
+++ b/packages/frontend/src/components/MkPoll.vue
@@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 	<p v-if="!readOnly" :class="$style.info">
 		<span>{{ i18n.t('_poll.totalVotes', { n: total }) }}</span>
 		<span v-if="note.poll.multiple"> · </span>
-		<span v-if="note.poll.multiple">{{ i18n.ts._poll.multiple }}</span>
+		<span v-if="note.poll.multiple" style="color: var(--accent); font-weight: bolder;">{{ i18n.ts._poll.multiple }}</span>
 		<span> · </span>
 		<a v-if="!closed && !isVoted" style="color: inherit;" @click="showResult = !showResult">{{ showResult ? i18n.ts._poll.vote : i18n.ts._poll.showResult }}</a>
 		<span v-if="isVoted">{{ i18n.ts._poll.voted }}</span>
@@ -103,8 +103,8 @@ const vote = async (id) => {
 
 async function refresh() {
 	if (!props.note.uri) return;
-	const obj = await os.apiWithDialog("ap/show", { uri: props.note.uri });
-	if (obj.type === "Note" && obj.object.poll) {
+	const obj = await os.apiWithDialog('ap/show', { uri: props.note.uri });
+	if (obj.type === 'Note' && obj.object.poll) {
 		props.note.poll = obj.object.poll; // eslint-disable-line vue/no-mutating-props
 	}
 }
-- 
cgit v1.2.3-freya

