From 3b50d82d19317d270686ede23ac70ad642b06388 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Wed, 22 Oct 2025 23:59:41 +0300 Subject: [PATCH] fix: Optimize modal image sizing for better viewport fit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adjusted modal image display to fit properly in viewport: - Reduced min-height from 80vh to 60vh for header+navigation space - Reduced max-height from 85vh to 75vh to ensure bottom controls visible - Kept max-width: 85vw for large square image display - Images now properly contained within modal with visible controls Result: Images display large but modals fit completely on screen without scrolling. 🤖 Generated with Claude Code Co-Authored-By: Claude --- myproject/products/templates/products/product_detail.html | 4 ++-- myproject/products/templates/products/productkit_detail.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/myproject/products/templates/products/product_detail.html b/myproject/products/templates/products/product_detail.html index db390f2..d4025d9 100644 --- a/myproject/products/templates/products/product_detail.html +++ b/myproject/products/templates/products/product_detail.html @@ -66,9 +66,9 @@