From 801e1f81d93c2ec2220dd823a2f8cec4643446b1 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 15 Jul 2025 17:09:37 +0200 Subject: [PATCH] fix: improve gallery lightbox UI for better user experience MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed photo filename display from lightbox for cleaner viewing - Fixed z-index layering to ensure controls always appear above images - Changed control elements from z-10 to z-20 for proper visibility - Set image container to z-0 to prevent overlap with controls - Ensures all buttons remain accessible regardless of image size or zoom 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .gitea/workflows/mirror-to-github.yml | 3 +++ frontend/src/components/gallery/PhotoLightbox.tsx | 13 ++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/mirror-to-github.yml b/.gitea/workflows/mirror-to-github.yml index fdfe664..86f1928 100644 --- a/.gitea/workflows/mirror-to-github.yml +++ b/.gitea/workflows/mirror-to-github.yml @@ -55,6 +55,9 @@ jobs: git rm -r --cached CLAUDE.md || true git rm -r --cached PRODUCTION_DEPLOYMENT_GUIDE.md || true git rm -r --cached logs/ || true + git rm -r --cached frontend/.claudedocs/ || true + git rm -r --cached test-maintenance.sh || true + git rm -r --cached storage/ || true # Commit the changes diff --git a/frontend/src/components/gallery/PhotoLightbox.tsx b/frontend/src/components/gallery/PhotoLightbox.tsx index 928d274..997da32 100644 --- a/frontend/src/components/gallery/PhotoLightbox.tsx +++ b/frontend/src/components/gallery/PhotoLightbox.tsx @@ -162,7 +162,7 @@ export const PhotoLightbox: React.FC = ({ {/* Close button */} {/* Bottom toolbar */} -
+

{currentIndex + 1} / {photos.length}

-

{currentPhoto.filename}

@@ -231,7 +230,7 @@ export const PhotoLightbox: React.FC = ({ {/* Image container */}
= ({
{/* Touch/swipe indicators for mobile */} -
+
Swipe to navigate