mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] Loading: remove z-index
This commit is contained in:
@@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user