mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 18:04:12 +08:00
fix(style): keep Spin's container height the same as son element (#42163)
This commit is contained in:
parent
5e52057671
commit
0371a933bf
@ -10,6 +10,7 @@
|
||||
position: absolute;
|
||||
display: none;
|
||||
color: @primary-color;
|
||||
font-size: 0;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
opacity: 0;
|
||||
@ -43,6 +44,7 @@
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
padding-top: ((@spin-dot-size - @font-size-base) / 2) + 2px;
|
||||
font-size: @font-size-base;
|
||||
text-shadow: 0 1px 2px @shadow-color-inverse;
|
||||
}
|
||||
&.@{spin-prefix-cls}-show-text .@{spin-prefix-cls}-dot {
|
||||
|
Loading…
Reference in New Issue
Block a user