mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
improve center style code of spin
This commit is contained in:
parent
bcb9c2d133
commit
4a50b31d23
@ -31,12 +31,12 @@
|
||||
&-nested-loading & {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
margin-top: -10px;
|
||||
margin-left: -2.5 * @spin-dot-size;
|
||||
z-index: 4;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-container {
|
||||
@ -82,10 +82,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-nested-loading &-sm {
|
||||
margin-left: -2.5 * @spin-dot-size-sm;
|
||||
}
|
||||
|
||||
// large
|
||||
&-lg &-dot {
|
||||
.square(@spin-dot-size-lg);
|
||||
@ -93,10 +89,6 @@
|
||||
margin-left: @spin-dot-size-lg;
|
||||
}
|
||||
}
|
||||
|
||||
&-nested-loading &-sm {
|
||||
margin-left: -2.5 * @spin-dot-size-lg;
|
||||
}
|
||||
}
|
||||
|
||||
// pulse
|
||||
|
Loading…
Reference in New Issue
Block a user