commit: bc029b0fa2499651a7ff541f09afe1fbc2e19cea
parent 0afc955ebd54e7d242a4d796df38931eaecb40d5
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 29 Mar 2022 19:04:01 +0300
fix spacing in poll expiration label
Diffstat:
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/components/poll/poll.vue b/src/components/poll/poll.vue
@@ -71,16 +71,18 @@
{{ $tc("polls.votes_count", poll.votes_count, { count: poll.votes_count }) }} ยท
</template>
</div>
- <i18n-t
- scope="global"
- :keypath="expired ? 'polls.expired' : 'polls.expires_in'"
- >
- <Timeago
- :time="expiresAt"
- :auto-update="60"
- :now-threshold="0"
- />
- </i18n-t>
+ <span>
+ <i18n-t
+ scope="global"
+ :keypath="expired ? 'polls.expired' : 'polls.expires_in'"
+ >
+ <Timeago
+ :time="expiresAt"
+ :auto-update="60"
+ :now-threshold="0"
+ />
+ </i18n-t>
+ </span>
</div>
</div>
</template>