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