fix: mandatory footer should not obstruct sidenav

This commit is contained in:
metonym 2024-08-07 08:08:13 -07:00
commit d9a8f0f043
2 changed files with 8 additions and 6 deletions

View file

@ -35,11 +35,6 @@ html[theme="g90"] .code-override {
overflow-x: auto;
}
/* Override to accommodate mandatory footer */
.bx--header~.bx--side-nav {
height: calc(100% - 100px);
}
/* Addig this to the layout grid fixes overstretching. */
.fix-overflow {
min-width: 0;

View file

@ -313,10 +313,17 @@
</Content>
<footer>
<dds-footer-container disable-locale-button="true" size="micro" />
<dds-footer-container disable-locale-button="true" size="micro"
></dds-footer-container>
</footer>
<style>
@media (min-width: 1056px) {
footer {
margin-left: 256px;
}
}
p {
margin-bottom: var(--cds-spacing-05);
}