Skip to content

Commit

Permalink
04/style: increase breakpoint size (fites mod phons better), add max-…
Browse files Browse the repository at this point in the history
…height

ensures full screen visible on phones.
  • Loading branch information
titaniumbones committed Sep 17, 2019
1 parent 8d976ec commit e2bbd7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 04/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ article div section {
}


@media (max-width: 480px) {
@media (max-width: 576px) {
main {
/* when the screen shrinks, reorganize the main grid */
/* when the screen shrinks, reorganize the main grid and don't stretch beyond height */
max-height: 100vh;
grid-template-areas: "nav"
"art"
"side"
Expand Down

0 comments on commit e2bbd7d

Please sign in to comment.