mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
style(docs): remove manual SideNav
z-index override
This commit is contained in:
parent
fdd246a0b0
commit
355351512f
1 changed files with 12 additions and 0 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue