Mobile: keep sidebar menu always on top of 3D viewer overlays (z-index 1000)
This commit is contained in:
@@ -1890,4 +1890,15 @@ html.theme-light .mermaid svg .cluster-label text {
|
||||
.hljs-name { color: #e0af68; }
|
||||
.hljs-attr { color: #a9b1d6; }
|
||||
html.theme-light .hljs-name { color: #2e7de9; }
|
||||
html.theme-light .hljs-attr { color: #a0a6c2; }
|
||||
html.theme-light .hljs-attr { color: #a0a6c2; }
|
||||
/* ---------- 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