fix: reduce pixel size text in image params popover
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Your Name 2026-02-26 12:40:25 +08:00
parent afaab632ed
commit b578676251

View File

@ -337,20 +337,20 @@ export function ImageParamsBar({
<div>
<p className="text-[11px] font-medium text-[#8a94a3]">尺寸</p>
<div className="mt-1.5 grid grid-cols-[1fr_auto_1fr_auto] items-center gap-1.5">
<div className="h-8 rounded-[9px] border border-[#dce1e8] bg-[#eef1f4]/90 px-2 text-[#b0b8c4]">
<div className="flex h-full items-center justify-between">
<span className="text-[11px] font-semibold">W</span>
<span className="text-[16px] font-semibold">{outputSize.width}</span>
<div className="h-7 rounded-[9px] border border-[#dce1e8] bg-[#eef1f4]/90 px-2 text-[#b0b8c4]">
<div className="flex h-full items-center justify-between gap-1.5">
<span className="text-[10px] font-semibold">W</span>
<span className="text-[12px] font-semibold">{outputSize.width}</span>
</div>
</div>
<Link2 className="h-3.5 w-3.5 text-[#adb6c3]" />
<div className="h-8 rounded-[9px] border border-[#dce1e8] bg-[#eef1f4]/90 px-2 text-[#b0b8c4]">
<div className="flex h-full items-center justify-between">
<span className="text-[11px] font-semibold">H</span>
<span className="text-[16px] font-semibold">{outputSize.height}</span>
<Link2 className="h-3 w-3 text-[#adb6c3]" />
<div className="h-7 rounded-[9px] border border-[#dce1e8] bg-[#eef1f4]/90 px-2 text-[#b0b8c4]">
<div className="flex h-full items-center justify-between gap-1.5">
<span className="text-[10px] font-semibold">H</span>
<span className="text-[12px] font-semibold">{outputSize.height}</span>
</div>
</div>
<span className="text-[14px] font-semibold text-[#657180]">PX</span>
<span className="text-[11px] font-semibold text-[#8a94a3]">PX</span>
</div>
</div>
</div>