1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 08:35:57 +01:00

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

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;
}