mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user