feat(ui): update model update badge to icon-only design

- Change badge from text label to icon-only for cleaner UI
- Adjust CSS for smaller circular badge with centered icon
- Maintain tooltip functionality for accessibility
- Update badge styling to be more compact and visually consistent
This commit is contained in:
Will Miao
2026-01-28 20:42:32 +08:00
parent a78868adce
commit ee25643f68
2 changed files with 15 additions and 11 deletions

View File

@@ -596,18 +596,22 @@
}
.model-update-badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 2px 10px;
border-radius: var(--border-radius-xs);
width: 18px;
height: 18px;
padding: 0;
border-radius: 4px;
background: var(--badge-update-bg);
color: var(--badge-update-text);
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
box-shadow: 0 4px 12px var(--badge-update-glow);
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
box-shadow: 0 2px 6px var(--badge-update-glow);
border: 1px solid color-mix(in oklab, var(--badge-update-bg) 55%, transparent);
white-space: nowrap;
}
.model-update-badge i {
margin-left: 1px;
line-height: 1;
}