Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: change cursor style
Browse files Browse the repository at this point in the history
Signed-off-by: fan-mengwen <fan.mengwen@xsky.com>
  • Loading branch information
fan-mengwen committed Jun 27, 2023
1 parent d4e1cab commit 03907d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Switch/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@
.Switch__loading * {
cursor: not-allowed !important
}
.Switch:not(.Switch__disabled):not(.Switch__loading) {
&>span {
cursor: pointer;
&>span {
cursor: pointer !important; // 替换自带的 grap 样式
}
}
}

@keyframes loading-animation {
0% {
Expand Down

0 comments on commit 03907d6

Please sign in to comment.