File tree Expand file tree Collapse file tree
src/components/Form/Checkbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ function Checkbox({
2727 isHidden = { false }
2828 className = { cn (
2929 'group flex items-start gap-3 outline outline-offset-2 outline-transparent' ,
30- 'cursor-pointer has-[input:disabled]:cursor-not-allowed [&> input:focus-visible]:outline-secondary/50' ,
30+ 'cursor-pointer has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-75 has-[ input:focus-visible]:outline-secondary/50' ,
3131 ) }
3232 >
3333 < input
3434 { ...props }
3535 ref = { ref }
3636 className = { cn (
37- 'size-5 cursor-[inherit] rounded-sm border border-secondary/50 group-hover:border-secondary disabled:opacity-60 ' ,
37+ 'size-5 cursor-[inherit] rounded-sm border border-secondary/50 group-hover:border-secondary' ,
3838 'outline outline-offset-2 outline-transparent' ,
3939 'group-hover:outline-secondary/25' ,
4040 ) }
You can’t perform that action at this time.
0 commit comments