Skip to content

Commit 17eba92

Browse files
committed
fix(color-picker): show not-allowed cursor in disabled state
1 parent a5029cb commit 17eba92

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

components/color-picker/style/_index.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66

77
&_disabled {
88
opacity: 0.5;
9-
pointer-events: none;
9+
cursor: not-allowed;
10+
11+
.#{$prefix}-color-picker__trigger,
12+
.#{$prefix}-color-picker__swatch {
13+
cursor: not-allowed;
14+
pointer-events: none;
15+
}
1016
}
1117

1218
&__trigger {

0 commit comments

Comments
 (0)