diff options
author | Smit Patel <the1995captainh@gmail.com> | 2020-01-16 06:54:47 +0530 |
---|---|---|
committer | Smit Patel <the1995captainh@gmail.com> | 2020-01-16 06:54:47 +0530 |
commit | 9c15d8f45e2d3c0c6df68d972dc96dc3ec0bc939 (patch) | |
tree | 6da17e15a83fc214896b4dea143a393eabf5eb25 /ui | |
parent | 9845fda05c94b01f1b46ac1e1be87e899b3a24d3 (diff) |
[CSS] Sticky Footer
Diffstat (limited to 'ui')
-rw-r--r-- | ui/assets/css/main.css | 10 | ||||
-rw-r--r-- | ui/src/index.tsx | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index 9a0fc52b..fd29e756 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -148,3 +148,13 @@ hr { overflow: hidden; text-overflow: ellipsis } + +#app { + display: flex; + flex-direction: column; + min-height: 100vh; +} + +.fl-1 { + flex: 1; +}
\ No newline at end of file diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 41404f4b..5eeb3038 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -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 |