diff --git a/src/components/shared/ImageLightbox.tsx b/src/components/shared/ImageLightbox.tsx
index 9c7589d..cc072e8 100644
--- a/src/components/shared/ImageLightbox.tsx
+++ b/src/components/shared/ImageLightbox.tsx
@@ -12,7 +12,10 @@ export function ImageLightbox({ images, index, onClose, onNavigate }: ImageLight
const hasNext = index < images.length - 1;
const handleKeyDown = useCallback((e: KeyboardEvent) => {
- if (e.key === "Escape") onClose();
+ if (e.key === "Escape") {
+ e.stopImmediatePropagation();
+ onClose();
+ }
if (e.key === "ArrowLeft" && hasPrev) onNavigate(index - 1);
if (e.key === "ArrowRight" && hasNext) onNavigate(index + 1);
}, [onClose, onNavigate, index, hasPrev, hasNext]);
diff --git a/src/components/sidebar/Sidebar.tsx b/src/components/sidebar/Sidebar.tsx
index 680abbb..bc7216f 100644
--- a/src/components/sidebar/Sidebar.tsx
+++ b/src/components/sidebar/Sidebar.tsx
@@ -120,8 +120,12 @@ export function Sidebar() {
})}
- {/* Account switcher (full) — expanded only */}
- {!c &&