diff --git a/frontend/src/pages/Writer/Images.tsx b/frontend/src/pages/Writer/Images.tsx index d86ec590..e4f0f61e 100644 --- a/frontend/src/pages/Writer/Images.tsx +++ b/frontend/src/pages/Writer/Images.tsx @@ -570,13 +570,38 @@ export default function Images() { /> {/* Lightbox */} - setLightboxOpen(false)} - index={lightboxIndex} - slides={lightboxSlides} - on={{ view: ({ index }) => setLightboxIndex(index) }} - /> + {lightboxOpen && ( +
+ setLightboxOpen(false)} + index={lightboxIndex} + slides={lightboxSlides} + on={{ view: ({ index }) => setLightboxIndex(index) }} + /> + {/* Custom Close Button - Match Modal Style */} + +
+ )} {/* AI Function Logs - Display below table (only when Resource Debug is enabled) */} {resourceDebugEnabled && aiLogs.length > 0 && ( diff --git a/frontend/src/styles/igny8-colors.css b/frontend/src/styles/igny8-colors.css index 3b696ce5..2d31f1c2 100644 --- a/frontend/src/styles/igny8-colors.css +++ b/frontend/src/styles/igny8-colors.css @@ -230,6 +230,22 @@ .igny8-badge-danger { background: var(--igny8-red); } .igny8-badge-purple { background: var(--igny8-purple); } +/* =================================================================== + LIGHTBOX STYLES - Match Modal Background + =================================================================== */ +/* Use same background as modals: bg-gray-400/50 backdrop-blur-[32px] */ +.yarl__container { + background: rgba(156, 163, 175, 0.5) !important; /* gray-400/50 */ + backdrop-filter: blur(32px) !important; + -webkit-backdrop-filter: blur(32px) !important; +} + +.yarl__backdrop { + background: rgba(156, 163, 175, 0.5) !important; /* gray-400/50 */ + backdrop-filter: blur(32px) !important; + -webkit-backdrop-filter: blur(32px) !important; +} + /* =================================================================== COMPACT LAYOUT STYLES (Global - Apply to all pages) =================================================================== */