summaryrefslogtreecommitdiff
path: root/src/web/app/common
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-02 06:26:31 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-02 06:26:31 +0900
commit423f73777cd0b8e6ef916f1ad4e6971c1e560bb7 (patch)
tree2b2b0fbe21322467321fa744795d13a567a22a6e /src/web/app/common
parentv3925 (diff)
downloadsharkey-423f73777cd0b8e6ef916f1ad4e6971c1e560bb7.tar.gz
sharkey-423f73777cd0b8e6ef916f1ad4e6971c1e560bb7.tar.bz2
sharkey-423f73777cd0b8e6ef916f1ad4e6971c1e560bb7.zip
nanka iroiro
Diffstat (limited to 'src/web/app/common')
-rw-r--r--src/web/app/common/views/components/poll.vue12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/web/app/common/views/components/poll.vue b/src/web/app/common/views/components/poll.vue
index 7ed5bc6b1e..556d8ebf6c 100644
--- a/src/web/app/common/views/components/poll.vue
+++ b/src/web/app/common/views/components/poll.vue
@@ -5,14 +5,14 @@
<div class="backdrop" :style="{ 'width': (showResult ? (choice.votes / total * 100) : 0) + '%' }"></div>
<span>
<template v-if="choice.is_voted">%fa:check%</template>
- {{ choice.text }}
+ <span>{{ choice.text }}</span>
<span class="votes" v-if="showResult">({{ '%i18n:common.tags.mk-poll.vote-count%'.replace('{}', choice.votes) }})</span>
</span>
</li>
</ul>
<p v-if="total > 0">
<span>{{ '%i18n:common.tags.mk-poll.total-users%'.replace('{}', total) }}</span>
- ・
+ <span>・</span>
<a v-if="!isVoted" @click="toggleShowResult">{{ showResult ? '%i18n:common.tags.mk-poll.vote%' : '%i18n:common.tags.mk-poll.show-result%' }}</a>
<span v-if="isVoted">%i18n:common.tags.mk-poll.voted%</span>
</p>
@@ -98,8 +98,12 @@ export default Vue.extend({
background $theme-color
transition width 1s ease
- > .votes
- margin-left 4px
+ > span
+ > [data-fa]
+ margin-right 4px
+
+ > .votes
+ margin-left 4px
> p
a