fix: responsive artifact icon
This commit is contained in:
+1
-3
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user