Fix Badge align when it is not a wrapper

close #12419
This commit is contained in:
afc163 2018-10-08 17:19:30 +08:00
parent 4d2422cb32
commit d70f52add3

View File

@ -111,14 +111,18 @@
animation-fill-mode: both;
}
&-not-a-wrapper .@{ant-prefix}-scroll-number {
top: auto;
display: block;
position: relative;
}
&-not-a-wrapper {
vertical-align: middle;
&-not-a-wrapper .@{badge-prefix-cls}-count {
transform: none;
.@{ant-prefix}-scroll-number {
top: auto;
display: block;
position: relative;
}
.@{badge-prefix-cls}-count {
transform: none;
}
}
}