Skip to content

Commit 6b9d327

Browse files
committed
ui: keep nft grid 2-up on mobile
1 parent ea40bbc commit 6b9d327

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

app/page.module.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@
841841
}
842842

843843
.nftGrid {
844-
grid-template-columns: 1fr;
844+
grid-template-columns: repeat(2, minmax(0, 1fr));
845845
}
846846

847847
.dropGrid {
@@ -854,6 +854,12 @@
854854
}
855855
}
856856

857+
@media (max-width: 420px) {
858+
.nftGrid {
859+
grid-template-columns: 1fr;
860+
}
861+
}
862+
857863
@media (max-width: 980px) {
858864
.panelGrid {
859865
grid-template-columns: 1fr;

0 commit comments

Comments
 (0)