fix(ui): align CPR badge text with its icon

Keep the compact line height and offset the uppercase label by one pixel to align its visible center with the brand glyph across badge sizes.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Zyy
2026-11-02 12:27:51 +08:00
co-authored by Codex
parent 6f71b27c3c
commit 90f7456db8
@@ -15,7 +15,8 @@ const { t } = useI18n({ useScope: 'global' })
:title="t('accounts.upstream.link')"
>
<AppBrandMark variant="glyph" class="relative size-4 shrink-0" aria-hidden="true" />
<span class="relative font-mono text-[10px] leading-none font-heavy tracking-[0.05em]">CPR</span>
<!-- 大写字形在行盒内偏上,保留紧凑行高并对齐图标的视觉中心 -->
<span class="relative top-px font-mono text-[10px] leading-none font-heavy tracking-[0.05em]">CPR</span>
</span>
</template>