fix(IndexBar): incorrect anchor position when anchor doesn't have a parent node (#5429)

This commit is contained in:
neverland
2019-12-30 21:46:53 +08:00
committed by GitHub
parent 3a4983b250
commit a154e0683a
4 changed files with 26 additions and 24 deletions

View File

@@ -1,6 +1,7 @@
@import '../style/var';
.van-index-anchor {
box-sizing: border-box;
padding: @index-anchor-padding;
color: @index-anchor-text-color;
font-weight: @index-anchor-font-weight;