From 96f19636e60fad0872f2b99ca1ba99e9517d78bb Mon Sep 17 00:00:00 2001
From: develop1st <80186227+develop1st@users.noreply.github.com>
Date: Thu, 16 Apr 2026 04:02:57 -0700
Subject: [PATCH] Fix mobile lightbox sidebar overlap and add collapse setting
(#141)
- Fix sidebar width calculation for mobile/tablet devices to prevent image overlap
- Add 'Collapse Sidebar by Default' setting in Display Settings
- Fix arrow direction to be intuitive (right when open, left when closed)
- Make sidebar fully slide off-screen when collapsed instead of partial visibility
---
web/gallery.html | 4 +++
web/js/gallery.js | 23 +++++++++++++-
web/lib/tailwind/comfyui-theme.css | 48 +++++++++++++++++++++++++++---
3 files changed, 70 insertions(+), 5 deletions(-)
diff --git a/web/gallery.html b/web/gallery.html
index f33f104..4b02c1a 100644
--- a/web/gallery.html
+++ b/web/gallery.html
@@ -253,6 +253,10 @@
+
+