From beab2324858762d8e7cd8112cbcf2fd5c18a8df3 Mon Sep 17 00:00:00 2001 From: David Pine Date: Tue, 4 Nov 2025 15:54:41 -0600 Subject: [PATCH] fix: adjust image shadow styles for zoomable images --- src/frontend/src/styles/site.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/styles/site.css b/src/frontend/src/styles/site.css index dc0c4b842..c94c9a775 100644 --- a/src/frontend/src/styles/site.css +++ b/src/frontend/src/styles/site.css @@ -345,10 +345,14 @@ starlight-image-zoom-zoomable img { transition: all 0.5s ease-in-out; } -starlight-image-zoom-zoomable img:not(:has(ancestor(details))) { +starlight-image-zoom-zoomable img:not(details *) { box-shadow: var(--sl-shadow-sm); } +.map starlight-image-zoom-zoomable img { + box-shadow: none; +} + .hero * { z-index: 2; }