aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/poll/poll.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
index 56e91cca..28f90006 100644
--- a/src/components/poll/poll.vue
+++ b/src/components/poll/poll.vue
@@ -17,7 +17,7 @@
<span class="result-percentage">
{{ percentageForOption(option.votes_count) }}%
</span>
- <span>{{ option.title }}</span>
+ <span v-html="option.title_html"></span>
</div>
<div
class="result-fill"
@@ -75,6 +75,12 @@
@import '../../_variables.scss';
.poll {
+ img.emoji {
+ vertical-align: middle;
+ object-fit: contain;
+ width: 32px;
+ height: 32px;
+ }
.votes {
display: flex;
flex-direction: column;