summaryrefslogtreecommitdiffstats
path: root/frontend/components/Items.js
diff options
context:
space:
mode:
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 {