From c1a535b0dd9470f8eb526e86aa59cf6dec022f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=98=89=E6=B6=B5?= Date: Sat, 11 Jan 2020 08:22:02 +0800 Subject: [PATCH] feat(Button): improve cursor --- src/button/index.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/button/index.less b/src/button/index.less index 501667495..fb84ce10b 100644 --- a/src/button/index.less +++ b/src/button/index.less @@ -11,6 +11,7 @@ line-height: @button-default-line-height; text-align: center; border-radius: @button-border-radius; + cursor: pointer; transition: opacity @animation-duration-fast; -webkit-appearance: none; -webkit-text-size-adjust: 100%; @@ -134,9 +135,14 @@ } &--disabled { + cursor: not-allowed; opacity: @button-disabled-opacity; } + &--loading { + cursor: default; + } + &--round { border-radius: @button-round-border-radius; }