Mobile: keep sidebar menu always on top of 3D viewer overlays (z-index 1000)
This commit is contained in:
@@ -1885,4 +1885,15 @@ html.theme-light .mermaid svg .cluster-label text {
|
||||
.hljs-name { color: #E1CE98; }
|
||||
.hljs-attr { color: #77838a; }
|
||||
html.theme-light .hljs-name { color: #4c6c94; }
|
||||
html.theme-light .hljs-attr { color: #556753; }
|
||||
html.theme-light .hljs-attr { color: #556753; }
|
||||
/* ---------- Mobile: Menu always on top (above 3D viewer overlays) ---------- */
|
||||
@media (max-width: 48em) {
|
||||
#left-pane,
|
||||
#toc-pane {
|
||||
z-index: 1000;
|
||||
}
|
||||
#header {
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user