Skip to content

Commit

Permalink
home: improve sizings for cards for smaller screens (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulolieuthier committed Dec 5, 2021
1 parent bd8f865 commit dc26622
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
9 changes: 8 additions & 1 deletion theme/dist/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/dist/index.css.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion theme/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ Section#sermon-series
@media (max-width: 740px)
#cards
grid-template-columns repeat(auto-fit, minmax(@css{min(100%, 150px)}, 1fr))
grid-template-columns repeat(auto-fit, minmax(@css{min(100%, 140px)}, 1fr))
grid-gap 30px
Section#groups
#cards
Expand Down
5 changes: 5 additions & 0 deletions theme/src/components/sermons/Series.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,9 @@ Section#content
left 0
position absolute
width 100%
@media (max-width: 740px)
#cards
grid-template-columns repeat(auto-fit, minmax(@css{min(100%, 140px)}, 1fr))
grid-gap 30px
</style>

0 comments on commit dc26622

Please sign in to comment.