diff --git a/docs/src/global.css b/docs/src/global.css index 2e89cd3f..425f7914 100644 --- a/docs/src/global.css +++ b/docs/src/global.css @@ -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;