Merge branch 'ui-fix' of https://github.com/thebinarymutant/lemmy into thebinarymutant-ui-fix

pull/428/head
Dessalines 2020-01-15 22:08:49 -05:00
commit 24770126d4
2 changed files with 11 additions and 1 deletions

View File

@ -148,3 +148,13 @@ hr {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis text-overflow: ellipsis
} }
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.fl-1 {
flex: 1;
}

2
ui/src/index.tsx vendored
View File

@ -36,7 +36,7 @@ class Index extends Component<any, any> {
<Provider i18next={i18n}> <Provider i18next={i18n}>
<BrowserRouter> <BrowserRouter>
<Navbar /> <Navbar />
<div class="mt-4 p-0"> <div class="mt-4 p-0 fl-1">
<Switch> <Switch>
<Route exact path={`/`} component={Main} /> <Route exact path={`/`} component={Main} />
<Route <Route