Fix mobile

This commit is contained in:
Emile Bangma 2024-11-14 21:35:44 +00:00
parent a7ba176e82
commit 44f6733d8b

View File

@ -184,7 +184,7 @@ a {
box-sizing: border-box; box-sizing: border-box;
padding: $topSpacing 2rem 2rem 2rem; padding: $topSpacing 2rem 2rem 2rem;
display: flex; display: flex;
min-height: 100vh; height: 100vh;
position: sticky; position: sticky;
} }
@ -202,6 +202,9 @@ a {
padding: 0; padding: 0;
padding-top: 2rem; padding-top: 2rem;
} }
@media all and not ($mobile) {
min-height: 100vh;
}
} }
& .sidebar.right { & .sidebar.right {
@ -225,6 +228,9 @@ a {
display: none; display: none;
} }
} }
@media all and ($desktop) {
min-height: 100vh;
}
} }
& .page-header, & .page-header,
& .page-footer { & .page-footer {