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;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue