Skip to content

Commit

Permalink
Improve mobile school page layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
davepeck committed May 16, 2024
1 parent 870b2e2 commit 5c7aaf9
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions server/vb/components/school_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,17 @@ me main {
background-color: var(--bg-color);
}

me main>div {
display: flex;
flex-direction: column;
justify-content: space-evenly;
min-height: calc(100dvh - env(safe-area-inset-bottom) - 2rem);
}

@media screen and (min-width: 768px) {
me main {
me main>div {
padding: 2rem 0;
min-height: unset;
}
}

Expand Down Expand Up @@ -46,7 +54,13 @@ me .faq {
me .button-holder {
display: flex;
justify-content: center;
margin: 1.5rem 0;
margin: 0;
}

@media screen and (min-width: 768px) {
me .button-holder {
margin-top: 1.5rem;
}
}

me .faq {
Expand Down

0 comments on commit 5c7aaf9

Please sign in to comment.