Skip to content

Commit 4a5f4a2

Browse files
authored
docs: prevent horizontal scroll on mobile (#104)
1 parent ed05585 commit 4a5f4a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/_assets/home.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ body[layout^='layout-home'] main {
1515
padding-top: 0;
1616
}
1717

18-
body[layout^='layout-home'] .reasons {
19-
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
18+
@media (min-width: 480px) {
19+
body[layout^='layout-home'] .reasons {
20+
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
21+
}
2022
}

0 commit comments

Comments
 (0)