mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix: mandatory footer should not obstruct sidenav
This commit is contained in:
parent
45096fa16c
commit
d9a8f0f043
2 changed files with 8 additions and 6 deletions
|
@ -35,11 +35,6 @@ html[theme="g90"] .code-override {
|
||||||
overflow-x: auto;
|
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. */
|
/* Addig this to the layout grid fixes overstretching. */
|
||||||
.fix-overflow {
|
.fix-overflow {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
|
|
@ -313,10 +313,17 @@
|
||||||
</Content>
|
</Content>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<dds-footer-container disable-locale-button="true" size="micro" />
|
<dds-footer-container disable-locale-button="true" size="micro"
|
||||||
|
></dds-footer-container>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@media (min-width: 1056px) {
|
||||||
|
footer {
|
||||||
|
margin-left: 256px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: var(--cds-spacing-05);
|
margin-bottom: var(--cds-spacing-05);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue