fix: render scaled workbench text sharply

This commit is contained in:
2026-05-20 19:07:06 +08:00
parent 4a22ca0948
commit f35bfe0c5b
2 changed files with 14 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2502,7 +2502,7 @@ export function AdRecreationBoard({
<div className="relative z-10 mx-auto" style={{ width: boardScaledWidth, height: boardScaledHeight }}> <div className="relative z-10 mx-auto" style={{ width: boardScaledWidth, height: boardScaledHeight }}>
<div <div
className="flex h-[1000px] w-[1800px] max-w-none flex-col px-4 py-4" className="flex h-[1000px] w-[1800px] max-w-none flex-col px-4 py-4"
style={{ transform: `scale(${boardScale})`, transformOrigin: "top left" }} style={{ zoom: boardScale, transformOrigin: "top left" }}
> >
<header className="skg-board-topbar mb-3 flex items-center justify-between gap-4 rounded-lg border border-white/10 bg-white/[0.04] px-4 py-3"> <header className="skg-board-topbar mb-3 flex items-center justify-between gap-4 rounded-lg border border-white/10 bg-white/[0.04] px-4 py-3">
<div className="skg-board-brand"> <div className="skg-board-brand">