Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
gane5h committed Dec 5, 2023
1 parent db62c55 commit cc4ebaf
Showing 1 changed file with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const NFTWalletCollectionView: React.FC<
Some: (result) => {
const body = result.map((items, i) => {
return (
<div key={i}>
<div className="" key={i}>
<div className="mb-2">
<TypographyH3>
<div className="flex items-center gap-x-2">
Expand All @@ -56,7 +56,7 @@ export const NFTWalletCollectionView: React.FC<
</TypographyH3>
</div>

<div className="flex flex-wrap gap-8">
<div className="flex flex-wrap gap-4">
{items.nft_data.map((it, j) => {
return (
<Card
Expand All @@ -65,15 +65,14 @@ export const NFTWalletCollectionView: React.FC<
>
<CardContent>
<img
className={`block h-[10rem] w-full rounded-t ${
it.external_data
className={`block h-[10rem] w-full rounded-t ${it.external_data
? "object-cover"
: "p-2"
}`}
}`}
src={
it.external_data
? it.external_data
.image_512
.image_512
: "https://www.datocms-assets.com/86369/1685489960-nft.svg"
}
onError={(e) => {
Expand Down Expand Up @@ -174,7 +173,7 @@ export const NFTWalletCollectionView: React.FC<
</div>
</div>
</div>
<div>{body}</div>
<div className="flex gap-8 flex-col">{body}</div>
</div>
);
},
Expand Down

0 comments on commit cc4ebaf

Please sign in to comment.