[improvement] Picker: prevent style be override by base.css (#4136)
This commit is contained in:
+14
-4
@@ -1,14 +1,21 @@
|
||||
@import './mixins/hairline';
|
||||
|
||||
[class*='van-hairline'] {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
.hairline();
|
||||
}
|
||||
}
|
||||
|
||||
.van-hairline {
|
||||
&--top,
|
||||
&--left,
|
||||
&--right,
|
||||
&--bottom,
|
||||
&--surround,
|
||||
&--top-bottom {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
&--top::after {
|
||||
border-top-width: 1px;
|
||||
}
|
||||
@@ -25,8 +32,11 @@
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
&--top-bottom::after {
|
||||
border-width: 1px 0;
|
||||
&,
|
||||
&-unset {
|
||||
&--top-bottom::after {
|
||||
border-width: 1px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&--surround::after {
|
||||
|
||||
Reference in New Issue
Block a user