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 {
|
.app {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
> * {
|
// for sticky footer
|
||||||
width: 100%;
|
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>
|
<Router>
|
||||||
<>
|
<>
|
||||||
<Header />
|
<Header />
|
||||||
<Routes />
|
|
||||||
|
<main className={styles.main}>
|
||||||
|
<Routes />
|
||||||
|
</main>
|
||||||
|
|
||||||
<Footer />
|
<Footer />
|
||||||
</>
|
</>
|
||||||
</Router>
|
</Router>
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
color: $brand-grey-light;
|
color: $brand-grey-light;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin-top: $spacer;
|
||||||
padding-top: $spacer;
|
padding-top: $spacer;
|
||||||
padding-bottom: $spacer;
|
padding-bottom: $spacer;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
|
Loading…
Reference in New Issue
Block a user