diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-02-15 16:59:58 -0500 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-02-15 16:59:58 -0500 |
| commit | 8f2c595eca30e2d7138c8e8d6685774a8f44e55d (patch) | |
| tree | 3408b9c8eb3b0ea43cb72e13e0bd6393ab5bac61 /frontend/components/Items.js | |
| parent | a09b01abf7c03e6b7e43f2175e5a34501808821b (diff) | |
omg
Diffstat (limited to 'frontend/components/Items.js')
| -rw-r--r-- | frontend/components/Items.js | 6 |
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 { |
