Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1162eb

Browse files
authored
fix: only highlight checkbox on hover when checkbox is enabled (#17526)
resolves#17503
1 parent36a72a2 commitc1162eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎site/src/components/Checkbox/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const Checkbox = React.forwardRef<
2424
disabled:cursor-not-allowed disabled:bg-surface-primary disabled:data-[state=checked]:bg-surface-tertiary
2525
data-[state=unchecked]:bg-surface-primary
2626
data-[state=checked]:bg-surface-invert-primary data-[state=checked]:text-content-invert
27-
hover:border-border-hover hover:data-[state=checked]:bg-surface-invert-secondary`,
27+
hover:enabled:border-border-hover hover:data-[state=checked]:bg-surface-invert-secondary`,
2828
className,
2929
)}
3030
{...props}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp