mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] Loading: remove z-index
This commit is contained in:
parent
f4ca38176b
commit
c660c71ee6
@ -2,13 +2,11 @@
|
|||||||
|
|
||||||
.van-loading {
|
.van-loading {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 0;
|
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
&__spinner {
|
&__spinner {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: -1;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
// compatible for 1.x, users may set width or height in root element
|
// compatible for 1.x, users may set width or height in root element
|
||||||
@ -72,8 +70,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.van-loading__text {
|
.van-loading__text {
|
||||||
margin-top: 10px;
|
margin: 10px 0 0;
|
||||||
margin-left: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user