From 86acecc27d00c635ec2f2621eb7657091d87b5e9 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 11 Aug 2026 18:21:47 +0800 Subject: [PATCH] fix(profile): match VIP icon to badge size Co-Authored-By: Claude Fable 5 --- assets/css/frontend/credits.css | 4 ++-- assets/css/routes/user-center/shell.css | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/assets/css/frontend/credits.css b/assets/css/frontend/credits.css index 1fd00c79..9f663b59 100644 --- a/assets/css/frontend/credits.css +++ b/assets/css/frontend/credits.css @@ -384,8 +384,8 @@ } .aksrt-vip-badge--sm { - padding: 2px 6px; - font-size: 10px; + padding: 0; + font-size: inherit; } .aksrt-vip-badge--sm i { diff --git a/assets/css/routes/user-center/shell.css b/assets/css/routes/user-center/shell.css index da5d1256..a169361f 100644 --- a/assets/css/routes/user-center/shell.css +++ b/assets/css/routes/user-center/shell.css @@ -25,7 +25,20 @@ padding: 0 0 40px; } -/* Medal icon alignment in UC header h1 name row (zibll parity). */ +/* VIP icon alignment in UC header h1 name row. */ +.uc-header__name .aksrt-vip-badge__icon, +h1.uc-header__name .aksrt-vip-badge__icon { + width: auto; + height: 1.2em; + max-width: 6em; + object-fit: contain; + vertical-align: middle; + margin-left: 4px; + display: inline-block; + border: none; +} + + .uc-header__name .medal-icon.img-icon, .uc-header__name .aksrt-identity-medal, h1.uc-header__name .medal-icon.img-icon,