Skip to content

Commit 980b64d

Browse files
committed
fix: fixed checkbox cursor on hover
1 parent 636beb0 commit 980b64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LibCheckbox/LibCheckbox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
checked:after:bg-accent-700
3333
disabled:border-neutral-500
3434
disabled:checked:after:bg-neutral-700
35-
`, $attrs.class as any)"
35+
`, !disabled && `after:cursor-pointer`,$attrs.class as any)"
3636
type="checkbox"
3737
:disabled="disabled"
3838
ref="inputEl"

0 commit comments

Comments
 (0)