fix(badge): 调整徽章点的位置和缩放效果

This commit is contained in:
kuaifan 2026-07-27 01:23:08 +00:00
parent 08da0b8976
commit 867a305c7a
3 changed files with 18 additions and 0 deletions

View File

@ -89,6 +89,12 @@
.ivu-badge-count {
font-size: 14px;
}
.ivu-badge-dot {
top: 6px;
right: -24px;
transform: translateX(-50%) scale(1.2);
}
}
&.active {

View File

@ -127,6 +127,10 @@
right: -16px;
top: -16px;
padding: 8px;
.ivu-badge-dot {
right: 8px;
}
}
&.is-sorting {
@ -178,6 +182,10 @@
.apply-box-top-report {
right: -20px;
top: -20px;
.ivu-badge-dot {
right: 4px;
}
}
}
}

View File

@ -83,6 +83,10 @@
.menu-badge {
margin-left: 12px;
transform: scale(0.9);
.ivu-badge-dot {
right: 0;
transform: translateX(-50%) scale(1.1);
}
}
&:first-child {
margin-top: 12px;