Skip to content

Commit

Permalink
fix: Show NFT amount (solana-labs#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianBor authored Sep 12, 2022
1 parent 890974e commit 262d9b3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions components/instructions/instructionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,14 @@ export default function InstructionCard({
</div>

{nftImgUrl ? (
<div
style={{ width: '150px', height: '150px' }}
className="flex items-center overflow-hidden"
>
<img src={nftImgUrl}></img>
<div className="flex justify-between mb-2">
<div
style={{ width: '150px', height: '150px' }}
className="flex items-center overflow-hidden"
>
<img src={nftImgUrl}></img>
</div>
<InstructionData descriptor={descriptor}></InstructionData>
</div>
) : (
<InstructionData descriptor={descriptor}></InstructionData>
Expand Down

0 comments on commit 262d9b3

Please sign in to comment.