mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
parent
06e4eaa7d5
commit
96e71a4147
@ -46,17 +46,29 @@
|
||||
margin: -@spin-dot-size-lg / 2;
|
||||
}
|
||||
|
||||
&-show-text .@{spin-prefix-cls}-dot {
|
||||
margin: -@spin-dot-size / 2 - @font-size-base / 2;
|
||||
}
|
||||
|
||||
&-show-text.@{spin-prefix-cls}-sm .@{spin-prefix-cls}-dot {
|
||||
margin: -@spin-dot-size-sm / 2 - @font-size-base / 2;
|
||||
}
|
||||
|
||||
&-show-text.@{spin-prefix-cls}-lg .@{spin-prefix-cls}-dot {
|
||||
margin: -@spin-dot-size-lg / 2 - @font-size-base / 2;
|
||||
}
|
||||
|
||||
&-text {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
padding-top: @spin-dot-size / 2;
|
||||
padding-top: (@spin-dot-size - @font-size-base) / 2;
|
||||
}
|
||||
&-sm &-text {
|
||||
padding-top: @spin-dot-size-sm / 2;
|
||||
&-sm .@{spin-prefix-cls}-text {
|
||||
padding-top: (@spin-dot-size-sm - @font-size-base) / 2;
|
||||
}
|
||||
&-lg &-text {
|
||||
padding-top: @spin-dot-size-lg / 2;
|
||||
&-lg .@{spin-prefix-cls}-text {
|
||||
padding-top: (@spin-dot-size-lg - @font-size-base) / 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user