Skip to content

Commit

Permalink
fix(?): set img width for assetitem transform
Browse files Browse the repository at this point in the history
  • Loading branch information
dromzeh committed Sep 3, 2024
1 parent 80f8d56 commit b951062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/asset/asset-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function AssetItem({
>
<div className="flex items-center justify-center relative">
<img
src={`https://cdn.wanderer.moe/cdn-cgi/image/quality=30/${game}/${category}/${asset.name}.png`}
src={`https://cdn.wanderer.moe/cdn-cgi/image/width=128,quality=50/${game}/${category}/${asset.name}.png`}
alt={asset.name}
className="object-contain p-1"
fetchPriority="high"
Expand Down

0 comments on commit b951062

Please sign in to comment.