mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 19:06:36 +08:00
[bugfix] hairline (#1805)
This commit is contained in:
parent
82b037a576
commit
5aec811dd7
@ -13,10 +13,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&:not(:last-child)::after {
|
&:not(:last-child)::after {
|
||||||
left: 15px;
|
margin-left: 15px;
|
||||||
right: 0;
|
|
||||||
width: auto;
|
|
||||||
transform: scale(1, .5);
|
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
@mixin hairline($border-color: #eee) {
|
@mixin hairline($border-color: #eee) {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: -50%;
|
||||||
left: 0;
|
left: -50%;
|
||||||
width: 199%;
|
right: -50%;
|
||||||
height: 199%;
|
bottom: -50%;
|
||||||
transform: scale(0.5);
|
transform: scale(0.5);
|
||||||
transform-origin: 0 0;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 0 solid $border-color;
|
border: 0 solid $border-color;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user