mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
sticky footer
This commit is contained in:
parent
905c76b5af
commit
117a5a3d2e
@ -1,9 +1,14 @@
|
||||
@import './styles/variables';
|
||||
|
||||
.app {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
> * {
|
||||
width: 100%;
|
||||
}
|
||||
// for sticky footer
|
||||
display: flex;
|
||||
min-height: calc(100vh - #{$page-frame * 2});
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex: 1;
|
||||
}
|
||||
|
@ -108,7 +108,11 @@ class App extends Component<{}, AppState> {
|
||||
<Router>
|
||||
<>
|
||||
<Header />
|
||||
<Routes />
|
||||
|
||||
<main className={styles.main}>
|
||||
<Routes />
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</>
|
||||
</Router>
|
||||
|
@ -4,6 +4,7 @@
|
||||
color: $brand-grey-light;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: $spacer;
|
||||
padding-top: $spacer;
|
||||
padding-bottom: $spacer;
|
||||
align-self: flex-end;
|
||||
|
Loading…
Reference in New Issue
Block a user