Skip to content

Commit

Permalink
fix(counter): add user-select for button
Browse files Browse the repository at this point in the history
  • Loading branch information
BeADre committed Apr 25, 2022
1 parent 137f96c commit fb239f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/varlet-ui/src/counter/counter.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
border-radius: 50%;
cursor: pointer;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-select: none; // for safari
user-select: none;
}

&__input {
Expand All @@ -69,6 +71,8 @@
border-radius: 50%;
cursor: pointer;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-select: none; // for safari
user-select: none;
}

&--disabled {
Expand Down

0 comments on commit fb239f0

Please sign in to comment.