From 09585d3fc814c871746275ef923f926c7c7045e4 Mon Sep 17 00:00:00 2001 From: ccccpj Date: Tue, 11 Apr 2023 14:49:41 +0800 Subject: [PATCH] feat: update cursor-pointer (#1259) * feat: update cursor-pointer * fix: fix lint --------- Co-authored-by: anlyyao --- style/mobile/components/calendar/v2/_index.less | 2 ++ style/mobile/mixins/_cursor.less | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 style/mobile/mixins/_cursor.less diff --git a/style/mobile/components/calendar/v2/_index.less b/style/mobile/components/calendar/v2/_index.less index 21f6da320f..6648975e0c 100644 --- a/style/mobile/components/calendar/v2/_index.less +++ b/style/mobile/components/calendar/v2/_index.less @@ -1,5 +1,7 @@ @import "../../../base.less"; +@import "../../../mixins/_cursor.less"; + @import "./_var.less"; .@{prefix}-calendar { diff --git a/style/mobile/mixins/_cursor.less b/style/mobile/mixins/_cursor.less new file mode 100644 index 0000000000..0b8c143268 --- /dev/null +++ b/style/mobile/mixins/_cursor.less @@ -0,0 +1,7 @@ +.cursor-pointer() { + cursor: pointer; + -webkit-tap-highlight-color: transparent; + /* stylelint-disable-next-line */ + -webkit-user-select: none; + user-select: none; +}