chore: add cursor pointer for input element (#1248)

This commit is contained in:
webfansplz 2023-01-17 20:49:40 +08:00 committed by GitHub
parent 8a74e1abef
commit 7aa8aeba3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ const votersCount = $computed(() => poll.votersCount ?? poll.votesCount ?? 0)
<div flex flex-col w-full items-stretch gap-2 py3 dir="auto">
<form v-if="!poll.voted && !poll.expired" flex="~ col gap3" accent-primary @click.stop="noop" @submit.prevent="vote">
<label v-for="(option, index) of poll.options" :key="index" flex="~ gap2" items-center>
<input name="choices" :value="index" :type="poll.multiple ? 'checkbox' : 'radio'">
<input name="choices" :value="index" :type="poll.multiple ? 'checkbox' : 'radio'" cursor-pointer>
{{ option.title }}
</label>
<button btn-solid mt-1>