Make footer sticky (#56)

* Make footer sticky

* Fix footer positioning
This commit is contained in:
Misha Bragin
2022-06-22 15:15:13 +02:00
committed by GitHub
parent 0260dd5ce3
commit 5bc913ff74
2 changed files with 2 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ function App() {
</Col>
</Row>
</Header>
<Content>
<Content style={{ minHeight: "100vh"}}>
<Switch>
<Route
exact

View File

@@ -1,12 +1,11 @@
import React from 'react';
import { Layout } from 'antd';
import {Link} from 'react-router-dom';
const { Footer } = Layout
export default () => {
return (
<Footer style={{ textAlign: 'center' }}>
<Footer style={{ textAlign: 'center', bottom: "0"}}>
Copyright © 2022 <a href="https://netbird.io">NetBird Authors</a>
</Footer>
);