fix: missing var in hairline.less

This commit is contained in:
陈嘉涵 2019-09-28 22:41:06 +08:00
parent 7d4f0ceefb
commit 824d29b85a

View File

@ -1,3 +1,4 @@
@import './var';
@import './mixins/hairline'; @import './mixins/hairline';
[class*='van-hairline'] { [class*='van-hairline'] {
@ -18,25 +19,25 @@
} }
&--top::after { &--top::after {
border-top-width: 1px; border-top-width: @border-width-base;
} }
&--left::after { &--left::after {
border-left-width: 1px; border-left-width: @border-width-base;
} }
&--right::after { &--right::after {
border-right-width: 1px; border-right-width: @border-width-base;
} }
&--bottom::after { &--bottom::after {
border-bottom-width: 1px; border-bottom-width: @border-width-base;
} }
&, &,
&-unset { &-unset {
&--top-bottom::after { &--top-bottom::after {
border-width: 1px 0; border-width: @border-width-base 0;
} }
} }