mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
style(docs): side nav overlay should be clickable [ci skip]
This commit is contained in:
parent
2532814801
commit
0cd46712ca
1 changed files with 6 additions and 5 deletions
|
@ -101,6 +101,12 @@ html[theme="g90"] .code-override {
|
||||||
z-index: calc(8000 + 1);
|
z-index: calc(8000 + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 65.98rem) {
|
||||||
|
[aria-label="Navigation"] ~ [data-components] {
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.prose > p > .bx--link {
|
.prose > p > .bx--link {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
@ -122,7 +128,6 @@ html[theme="g90"] .code-override {
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-components] {
|
[data-components] {
|
||||||
z-index: 2;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
@ -172,10 +177,6 @@ html[theme="g90"] .code-override {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bx--side-nav__overlay-active {
|
|
||||||
z-index: calc(10 + 1); /** supersede the z-index of code snippets */
|
|
||||||
}
|
|
||||||
|
|
||||||
.body-short-01 {
|
.body-short-01 {
|
||||||
font-size: var(--cds-body-short-01-font-size);
|
font-size: var(--cds-body-short-01-font-size);
|
||||||
font-weight: var(--cds-body-short-01-font-weight);
|
font-weight: var(--cds-body-short-01-font-weight);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue