Skip to content

Commit

Permalink
feat: update cursor-pointer (#1259)
Browse files Browse the repository at this point in the history
* feat: update cursor-pointer

* fix: fix lint

---------

Co-authored-by: anlyyao <[email protected]>
  • Loading branch information
ccccpj and anlyyao authored Apr 11, 2023
1 parent fc9761e commit 09585d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions style/mobile/components/calendar/v2/_index.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import "../../../base.less";

@import "../../../mixins/_cursor.less";

@import "./_var.less";

.@{prefix}-calendar {
Expand Down
7 changes: 7 additions & 0 deletions style/mobile/mixins/_cursor.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.cursor-pointer() {
cursor: pointer;
-webkit-tap-highlight-color: transparent;
/* stylelint-disable-next-line */
-webkit-user-select: none;
user-select: none;
}

0 comments on commit 09585d3

Please sign in to comment.