Skip to content

Commit

Permalink
Improved mobile support for the grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Brady committed May 30, 2022
1 parent 3643e53 commit 820030b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/post_search/grid/grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
--IMAGE-SIZE: 12rem;
}

/* @media screen and (max-aspect-ratio: 1/1) { */
@media screen and (max-aspect-ratio: 1/1) {
:root {
--IMAGE-SIZE: 30vw !important;
}
}

.post-list{
padding: 2rem 10vw 2rem 10vw;
Expand Down

0 comments on commit 820030b

Please sign in to comment.