fix(style): keep Spin's container height the same as son element (#42163)

This commit is contained in:
cheapCoder 2023-05-06 00:24:22 +08:00 committed by GitHub
parent 5e52057671
commit 0371a933bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {