Skip to content

Commit

Permalink
fix(Switch): set Switch user-select: none, close alibaba-fusion#2896
Browse files Browse the repository at this point in the history
  • Loading branch information
cytle authored Apr 20, 2021
1 parent 3c1b517 commit 4105ce8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/switch/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
transition: all $motion-duration-immediately $motion-linear;
overflow: hidden;
cursor: pointer;
user-select: none;

&:after {
content: " ";
Expand Down

0 comments on commit 4105ce8

Please sign in to comment.