fix footer
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
@import url('./src/styles/colors.css');
|
@import url('./src/styles/colors.css');
|
||||||
|
|
||||||
html {
|
.main {
|
||||||
min-height: 100%;
|
min-height: calc(100vh - 41px);
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Shippori Antique', sans-serif;
|
font-family: 'Shippori Antique', sans-serif;
|
||||||
height: 80vh;
|
|
||||||
background-color: var(--body);
|
background-color: var(--body);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -255,7 +255,7 @@ export function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
<Container className="pb-5">
|
<Container className="pb-5 main">
|
||||||
<Row>
|
<Row>
|
||||||
<Col lg={7} xs={12}>
|
<Col lg={7} xs={12}>
|
||||||
<div className="mt-5" />
|
<div className="mt-5" />
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
@import url('../../src/styles/colors.css');
|
@import url('../../src/styles/colors.css');
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 39px;
|
line-height: 38px;
|
||||||
background-color: var(--stack);
|
background-color: var(--stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user