Browse Source

fix: fix loading Button in Badge style (#23691)

* fix loading button in badage style

* order name

* snap

* rever demo change

* update

* update

* update

* snap

* snap
pull/24432/head
Amumu 5 years ago
committed by GitHub
parent
commit
9504f5b418
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/badge/style/index.less
  2. 4
      components/style/themes/default.less

3
components/badge/style/index.less

@ -13,7 +13,6 @@
line-height: 1;
&-count {
z-index: @zindex-badge;
min-width: @badge-height;
height: @badge-height;
padding: 0 6px;
@ -37,7 +36,6 @@
}
&-dot {
z-index: @zindex-badge;
width: @badge-dot-size;
height: @badge-dot-size;
background: @highlight-color;
@ -51,6 +49,7 @@
position: absolute;
top: 0;
right: 0;
z-index: @zindex-badge;
transform: translate(50%, -50%);
transform-origin: 100% 0%;
}

4
components/style/themes/default.less

@ -265,8 +265,8 @@
@layout-trigger-color-light: @text-color;
// z-index list, order by `z-index`
@zindex-badge: auto;
@zindex-table-fixed: auto;
@zindex-badge: 1;
@zindex-table-fixed: 1;
@zindex-affix: 10;
@zindex-back-top: 10;
@zindex-picker-panel: 10;

Loading…
Cancel
Save