From b9ac36093941a21c69d9f456ce306ebb8104a0b4 Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Fri, 23 May 2025 15:24:25 +0900 Subject: [PATCH] Fix images overlaying AI assistant modal --- src/css/custom.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/css/custom.css b/src/css/custom.css index a72ea3fe..e58dd406 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -362,8 +362,13 @@ html[data-theme="dark"] .container img[src$=".png"] { /* Adds a white background background-color: #ffffff; } +img[class^="img_"] { /* Ensure doc images are always behind overlays and dropdowns. */ + position: relative; + z-index: 1 !important; +} + .medium-zoom-overlay { - z-index: 15; + z-index: 1; position: fixed; }