chore: add cursor pointer for input element (#1248)
parent
8a74e1abef
commit
7aa8aeba3f
|
@ -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">
|
<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">
|
<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>
|
<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 }}
|
{{ option.title }}
|
||||||
</label>
|
</label>
|
||||||
<button btn-solid mt-1>
|
<button btn-solid mt-1>
|
||||||
|
|
Loading…
Reference in New Issue