From 8f2c595eca30e2d7138c8e8d6685774a8f44e55d Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 15 Feb 2018 16:59:58 -0500 Subject: omg --- frontend/components/Items.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'frontend/components/Items.js') diff --git a/frontend/components/Items.js b/frontend/components/Items.js index a3f98c9..6206592 100644 --- a/frontend/components/Items.js +++ b/frontend/components/Items.js @@ -13,8 +13,10 @@ const Title = styled.h1` const Items = styled.div` display: grid; - grid-template-columns: repeat(4, 1fr); - grid-gap: 20px; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + grid-gap: 60px; + max-width: ${props => props.theme.maxWidth}; + margin: 0 auto; `; class ItemList extends Component { -- cgit v1.3