Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
fix phone sizer (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhans authored Feb 7, 2020
1 parent e600f4e commit 0ee5135
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/css/_foodbanks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
.mr-10 {
margin-right: 10px;
}
.card-set {
display: grid;
grid-template-columns: 33% 33% 33%;
}
.foodbanks {
.card-set {
display: grid;
grid-template-columns: 33% 33% 33%;
}
.card-set .card {
margin-right: 20px;
min-width: 200px;
Expand All @@ -43,10 +43,15 @@
@media (max-width: 1080px) {
.card-set {
grid-template-columns: 50% 50%;
}
}
}
@media (max-width: 720px) {
.card-set {
grid-template-columns: 100%;
}
.foodbanks {
.card-set .card {
max-width: none;
}
}
}

0 comments on commit 0ee5135

Please sign in to comment.