fix: responsive artifact icon

This commit is contained in:
2026-03-21 02:16:01 +07:00 Unverified
parent e348a5f4ce
commit 37a979a46f
+1 -3
View File
@@ -593,9 +593,7 @@ export function card(app: App) {
<img
src={a.icon}
alt="artifact"
tw="absolute top-1/2 -left-[10%] w-[45%] -translate-y-1/2 -translate-x-[10%] object-contain"
width={256}
height={256}
tw="absolute top-1/2 -left-[8%] w-[45%] -translate-y-1/2 -translate-x-[10%] object-contain aspect-square scale-90"
/>
{/* main */}
<div tw="h-full w-[30%] text-right shrink-0 flex flex-col justify-center">