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
This commit is contained in:
Amumu 2020-05-16 15:24:13 +08:00 committed by GitHub
parent 88d3f34e57
commit 9504f5b418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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%;
}

View File

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