mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
style(docs): remove UI Shell overrides (#1429)
This commit is contained in:
parent
fd42cb3891
commit
98974fba7e
1 changed files with 12 additions and 22 deletions
|
@ -89,6 +89,18 @@ html[theme="g90"] .code-override {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
/*
|
||||
* Main content needs to supersede z-index of SideNav but not that of the Header.
|
||||
* UI Shell Header shares the same z-index.
|
||||
*/
|
||||
[aria-label="Navigation"] {
|
||||
z-index: calc(8000 + 2);
|
||||
}
|
||||
|
||||
[aria-label="Navigation"] ~ [data-components] {
|
||||
z-index: calc(8000 + 1);
|
||||
}
|
||||
|
||||
.prose > p > .bx--link {
|
||||
font-size: inherit;
|
||||
text-decoration: underline;
|
||||
|
@ -239,25 +251,3 @@ html[theme="g90"] .code-override {
|
|||
.bx--col > p {
|
||||
margin-bottom: var(--cds-layout-02);
|
||||
}
|
||||
|
||||
main.bx--content {
|
||||
min-height: calc(100vh - 3rem - 3rem);
|
||||
}
|
||||
|
||||
@media (max-width: 1056px) {
|
||||
.bx--side-nav ~ .bx--content {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.bx--side-nav--expanded ~ .bx--content {
|
||||
white-space: nowrap;
|
||||
min-width: 28rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1057px) {
|
||||
.bx--side-nav__navigation {
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue