Browse Source

fix: Badge status color changed when toggle visibility (#31458)

close #30088
pull/31473/head
afc163 3 years ago
committed by GitHub
parent
commit
24401706d9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/badge/style/index.less

7
components/badge/style/index.less

@ -54,6 +54,11 @@
box-shadow: 0 0 0 1px @shadow-color-inverse;
}
// Tricky way to resolve https://github.com/ant-design/ant-design/issues/30088
&-dot.@{number-prefix-cls} {
transition: background 1.5s;
}
&-count,
&-dot,
.@{number-prefix-cls}-custom-component {
@ -157,7 +162,7 @@
}
.@{number-prefix-cls}-custom-component,
.@{ant-prefix}-scroll-number {
.@{number-prefix-cls} {
position: relative;
top: auto;
display: block;

Loading…
Cancel
Save