Skip to content

Commit 8ea3f13

Browse files
committed
fix(ui): render close icon in image lightbox header
1 parent ddd3d4f commit 8ea3f13

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎ui/src/components/image-lightbox.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@ class OpenClawImageLightbox extends OpenClawLitElement {
127127
.close svg {
128128
width: 17px;
129129
height: 17px;
130+
/* Shadow DOM: global icon stroke rules don't reach in here; without a
131+
stroke the open-path x icon renders invisible. */
132+
fill: none;
133+
stroke: currentColor;
134+
stroke-width: 2;
135+
stroke-linecap: round;
136+
stroke-linejoin: round;
130137
}
131138
132139
.stage {

0 commit comments

Comments
 (0)