mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
[improvement] IndexAnchor: remove transition
This commit is contained in:
parent
ce3a347723
commit
884f624a16
@ -7,8 +7,6 @@
|
|||||||
font-size: @index-anchor-font-size;
|
font-size: @index-anchor-font-size;
|
||||||
line-height: @index-anchor-line-height;
|
line-height: @index-anchor-line-height;
|
||||||
background-color: @index-anchor-background-color;
|
background-color: @index-anchor-background-color;
|
||||||
transition: color @index-anchor-transition-duration,
|
|
||||||
background-color @index-anchor-transition-duration;
|
|
||||||
|
|
||||||
&--sticky {
|
&--sticky {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -249,7 +249,6 @@
|
|||||||
@index-anchor-line-height: 32px;
|
@index-anchor-line-height: 32px;
|
||||||
@index-anchor-background-color: transparent;
|
@index-anchor-background-color: transparent;
|
||||||
@index-anchor-sticky-background-color: @white;
|
@index-anchor-sticky-background-color: @white;
|
||||||
@index-anchor-transition-duration: .2s;
|
|
||||||
|
|
||||||
// IndexBar
|
// IndexBar
|
||||||
@index-bar-index-font-size: 10px;
|
@index-bar-index-font-size: 10px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user