summaryrefslogtreecommitdiffstats
path: root/frontend/components/Items.js
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-02-15 16:59:58 -0500
committerWes Bos <wesbos@gmail.com>2018-02-15 16:59:58 -0500
commit8f2c595eca30e2d7138c8e8d6685774a8f44e55d (patch)
tree3408b9c8eb3b0ea43cb72e13e0bd6393ab5bac61 /frontend/components/Items.js
parenta09b01abf7c03e6b7e43f2175e5a34501808821b (diff)
omg
Diffstat (limited to 'frontend/components/Items.js')
-rw-r--r--frontend/components/Items.js6
1 files changed, 4 insertions, 2 deletions
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 {