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 <img
src={a.icon} src={a.icon}
alt="artifact" alt="artifact"
tw="absolute top-1/2 -left-[10%] w-[45%] -translate-y-1/2 -translate-x-[10%] object-contain" tw="absolute top-1/2 -left-[8%] w-[45%] -translate-y-1/2 -translate-x-[10%] object-contain aspect-square scale-90"
width={256}
height={256}
/> />
{/* main */} {/* main */}
<div tw="h-full w-[30%] text-right shrink-0 flex flex-col justify-center"> <div tw="h-full w-[30%] text-right shrink-0 flex flex-col justify-center">