fix(client): footer should stick to the bottom
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-top: 40px;
|
padding-top: 40px;
|
||||||
|
margin-top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer .col-header {
|
.footer .col-header {
|
||||||
|
@ -164,9 +164,9 @@ class DefaultLayout extends Component {
|
|||||||
<Flash flashMessage={flashMessage} onClose={removeFlashMessage} />
|
<Flash flashMessage={flashMessage} onClose={removeFlashMessage} />
|
||||||
) : null}
|
) : null}
|
||||||
{children}
|
{children}
|
||||||
|
{showFooter && <Footer />}
|
||||||
</div>
|
</div>
|
||||||
</WithInstantSearch>
|
</WithInstantSearch>
|
||||||
{showFooter && <Footer />}
|
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -594,5 +594,8 @@ pre code {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.default-layout {
|
.default-layout {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
margin-top: var(--header-height);
|
margin-top: var(--header-height);
|
||||||
|
min-height: calc(100vh - var(--header-height));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user