From 34ee065bf38efacbc40f07710437bdf0b0dec4e3 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 25 Jul 2026 17:16:29 -0700 Subject: [PATCH] fix(ui): render close icon in image lightbox header (#113913) --- ui/src/components/image-lightbox.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/src/components/image-lightbox.ts b/ui/src/components/image-lightbox.ts index fd5558c197de..346176729eea 100644 --- a/ui/src/components/image-lightbox.ts +++ b/ui/src/components/image-lightbox.ts @@ -127,6 +127,13 @@ class OpenClawImageLightbox extends OpenClawLitElement { .close svg { width: 17px; height: 17px; + /* Shadow DOM: global icon stroke rules don't reach in here; without a + stroke the open-path x icon renders invisible. */ + fill: none; + stroke: currentColor; + stroke-width: 2; + stroke-linecap: round; + stroke-linejoin: round; } .stage {