Skip to content

Commit

Permalink
Fix MetaMask#29974 - Makes NFT list properly wrap within the send modal
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Jan 30, 2025
1 parent 0be8d4a commit 0dd9aa1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/components/app/assets/nfts/nft-grid/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
.nft-items {
&__wrapper {
grid-template-columns: repeat(4, minmax(120px, 1fr));

/* When used in the send NFT modal */
.mm-modal-content & {
grid-template-columns: repeat(2, minmax(120px, 1fr));
}
}

@include design-system.screen-md-max {
Expand Down

0 comments on commit 0dd9aa1

Please sign in to comment.