Skip to content

Commit 820030b

Browse files
committed
Improved mobile support for the grid
1 parent 3643e53 commit 820030b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/post_search/grid/grid.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
--IMAGE-SIZE: 12rem;
33
}
44

5-
/* @media screen and (max-aspect-ratio: 1/1) { */
5+
@media screen and (max-aspect-ratio: 1/1) {
6+
:root {
7+
--IMAGE-SIZE: 30vw !important;
8+
}
9+
}
610

711
.post-list{
812
padding: 2rem 10vw 2rem 10vw;

0 commit comments

Comments
 (0)