mirror of https://github.com/LemmyNet/lemmy.git
[CSS] Sticky Footer
parent
1e884c6969
commit
fc26a9a377
|
@ -148,3 +148,13 @@ hr {
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis
|
||||
}
|
||||
|
||||
#app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.fl-1 {
|
||||
flex: 1;
|
||||
}
|
|
@ -36,7 +36,7 @@ class Index extends Component<any, any> {
|
|||
<Provider i18next={i18n}>
|
||||
<BrowserRouter>
|
||||
<Navbar />
|
||||
<div class="mt-4 p-0">
|
||||
<div class="mt-4 p-0 fl-1">
|
||||
<Switch>
|
||||
<Route exact path={`/`} component={Main} />
|
||||
<Route
|
||||
|
|
Loading…
Reference in New Issue