mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Step): z-index issue in 2.x (#9004)
This commit is contained in:
parent
bda035fa60
commit
fef606c269
@ -94,24 +94,11 @@
|
|||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
&::before {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: -15px;
|
|
||||||
z-index: 1;
|
|
||||||
width: 1px;
|
|
||||||
height: 20px;
|
|
||||||
background-color: @white;
|
|
||||||
content: '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.van-step__circle-container {
|
.van-step__circle-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 19px;
|
top: 19px;
|
||||||
left: -15px;
|
left: -15px;
|
||||||
z-index: 2;
|
z-index: 1;
|
||||||
font-size: @step-icon-size;
|
font-size: @step-icon-size;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user