Use column flexbox on mainpage

This removes the need to hardcode the footer height in a CSS calc().
This commit is contained in:
Alexandre Iooss
2021-04-01 09:26:15 +02:00
committed by Juliusz Chroboczek
parent 8544e4deb4
commit e330765563
+7 -1
View File
@@ -1,3 +1,9 @@
body {
/* Used to move footer at bottom of the page */
display: flex;
flex-direction: column;
}
.groups {
}
@@ -10,7 +16,7 @@
}
.home {
height: calc(100vh - 50px);
margin-bottom: auto;
padding: 1.875rem;
}