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

zio/stable
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
1 changed files with 1 additions and 1 deletions

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"> <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>