From 0d7efb2357c26cea4cd357f832aa8810bc038496 Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 11 Sep 2020 22:13:38 -0700 Subject: [PATCH] use 3 columns for grid on wider screens This isn't as great for modeling cards, but it's fine imo, and it's much better for item list cards (where there's practically no badges) --- src/app/ItemsPage.js | 4 ++-- src/app/components/ItemCard.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/ItemsPage.js b/src/app/ItemsPage.js index 5f028ac..c54b840 100644 --- a/src/app/ItemsPage.js +++ b/src/app/ItemsPage.js @@ -100,7 +100,7 @@ function ItemsPage() { return ( - + {isCurrentUser ? "Items you own" : `Items ${data.user.username} owns`} @@ -118,7 +118,7 @@ function ItemsPage() { ))} - + {isCurrentUser ? "Items you want" : `Items ${data.user.username} wants`} diff --git a/src/app/components/ItemCard.js b/src/app/components/ItemCard.js index 0737d3f..e0c70e3 100644 --- a/src/app/components/ItemCard.js +++ b/src/app/components/ItemCard.js @@ -29,6 +29,7 @@ function ItemCard({ item, badges, ...props }) { borderColor={borderColor} className="item-card" width="100%" + minWidth="0" {...props} > + {children} );