mirror of
https://github.com/jech/galene.git
synced 2024-11-26 10:35:59 +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:
parent
8544e4deb4
commit
e330765563
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
body {
|
||||||
|
/* Used to move footer at bottom of the page */
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.groups {
|
.groups {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +16,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.home {
|
.home {
|
||||||
height: calc(100vh - 50px);
|
margin-bottom: auto;
|
||||||
padding: 1.875rem;
|
padding: 1.875rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue