Skip to content

Commit f226ca0

Browse files
committed
fix feature widths on mobile
1 parent 5310947 commit f226ca0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/src/partials/home/features.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,21 @@ const FeaturesList = styled.ul`
2828
grid-template-columns: 1fr;
2929
grid-auto-rows: auto;
3030
grid-gap: 4rem;
31-
margin: 6rem 0;
31+
margin: 3rem 0;
32+
padding: 2rem;
3233
@media ${({ theme }) => theme.mediaQuery.sm} {
3334
grid-template-columns: repeat(3, 1fr);
3435
grid-auto-rows: 1fr;
3536
grid-gap: 3rem;
37+
margin: 6rem 0;
38+
padding: 0;
3639
}
3740
`;
3841

3942
const Feature = styled.li`
4043
justify-self: center;
4144
padding: 0;
42-
width: 18.5rem;
45+
width: 100%;
4346
@media ${({ theme }) => theme.mediaQuery.md} {
4447
width: 28rem;
4548
}

0 commit comments

Comments
 (0)