style(docs): side nav overlay should be clickable [ci skip]

This commit is contained in:
Eric Liu 2022-08-06 21:31:36 -07:00
commit 0cd46712ca

View file

@ -101,6 +101,12 @@ html[theme="g90"] .code-override {
z-index: calc(8000 + 1);
}
@media (max-width: 65.98rem) {
[aria-label="Navigation"] ~ [data-components] {
z-index: 1;
}
}
.prose > p > .bx--link {
font-size: inherit;
text-decoration: underline;
@ -122,7 +128,6 @@ html[theme="g90"] .code-override {
}
[data-components] {
z-index: 2;
position: relative;
display: flex;
}
@ -172,10 +177,6 @@ html[theme="g90"] .code-override {
overflow-y: auto;
}
.bx--side-nav__overlay-active {
z-index: calc(10 + 1); /** supersede the z-index of code snippets */
}
.body-short-01 {
font-size: var(--cds-body-short-01-font-size);
font-weight: var(--cds-body-short-01-font-weight);