diff --git a/packages/index-anchor/index.less b/packages/index-anchor/index.less index ccfb9fa64..5cedd7612 100644 --- a/packages/index-anchor/index.less +++ b/packages/index-anchor/index.less @@ -7,8 +7,6 @@ font-size: @index-anchor-font-size; line-height: @index-anchor-line-height; background-color: @index-anchor-background-color; - transition: color @index-anchor-transition-duration, - background-color @index-anchor-transition-duration; &--sticky { position: fixed; diff --git a/packages/style/var.less b/packages/style/var.less index ff0d20c78..cdd834c6a 100644 --- a/packages/style/var.less +++ b/packages/style/var.less @@ -249,7 +249,6 @@ @index-anchor-line-height: 32px; @index-anchor-background-color: transparent; @index-anchor-sticky-background-color: @white; -@index-anchor-transition-duration: .2s; // IndexBar @index-bar-index-font-size: 10px;