From de80b9871ebe1497c672f3c7c7bb5467dabcb83a Mon Sep 17 00:00:00 2001 From: Ken D'Ambrosio Date: Thu, 14 May 2026 23:11:20 +0000 Subject: Fill viewport with media in lightbox and slideshow Lightbox: .lb-media now fills the full stage (flex, 100%x100%) and #lb-img/#lb-video use width/height:100% + object-fit:contain so at least one axis always reaches the edge. Click-to-close updated to check event.target===stage instead of stopPropagation. Slideshow: #ss-img/#ss-video likewise changed from max-width/max-height to width/height:100% so small or portrait media fills the stage. Co-Authored-By: Claude Sonnet 4.6 --- views/album.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/album.erb b/views/album.erb index 64bf763..d13ced9 100644 --- a/views/album.erb +++ b/views/album.erb @@ -83,8 +83,8 @@