Fixes image zoom overlay over page TOC

Ensures zoomed images and their overlay stay on top of the right-side TOC so zoom interactions aren’t obscured on desktop layouts.
This commit is contained in:
rbalsleyMSFT
2026-02-03 20:50:42 -08:00
parent fd5603629f
commit 3a4146e0c3
+9
View File
@@ -91,6 +91,15 @@
cursor: zoom-in; cursor: zoom-in;
} }
/* Image zoom: ensure the zoom overlay sits above the right TOC */
.medium-zoom-overlay {
z-index: 9999 !important;
}
.medium-zoom-image--opened {
z-index: 10000 !important;
}
/* Right-side page TOC (desktop only) */ /* Right-side page TOC (desktop only) */
@media (min-width: 66.5rem) { @media (min-width: 66.5rem) {
.main-content-wrap.has-page-toc { .main-content-wrap.has-page-toc {