mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-24 18:15:17 +00:00
[CSS] Sticky Footer
This commit is contained in:
parent
9845fda05c
commit
9c15d8f45e
10
ui/assets/css/main.css
vendored
10
ui/assets/css/main.css
vendored
|
@ -148,3 +148,13 @@ hr {
|
|||
overflow: hidden;
|
||||
text-overflow: ellipsis
|
||||
}
|
||||
|
||||
#app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.fl-1 {
|
||||
flex: 1;
|
||||
}
|
2
ui/src/index.tsx
vendored
2
ui/src/index.tsx
vendored
|
@ -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 a new issue