From a19a4495f4bd072dbaabb2e0d7a6ed04b5b62971 Mon Sep 17 00:00:00 2001 From: aewing Date: Sun, 11 Jan 2026 02:32:11 +0000 Subject: [PATCH] Add zoom in/out controls to attachment preview MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add zoom in (+), zoom out (−), reset, and close buttons to preview panel - Zoom buttons only show for images (other media types don't need zoom) - Zoom level indicator shows current zoom percentage - Support zoom levels: 100% to 400% in 25% increments - Image zoom uses CSS transform scale for smooth performance - Click on image to toggle between 100% and 150% zoom (quick toggle) - Reset button appears when zoomed in, allows quick return to original - Zoom out button only appears when zoomed in - Preview panel has scrollable content area (max-height 600px) - Maintains aspect ratio and smooth transitions during zoom --- index.html | 453 ++++++++++++++++++++++++++--------------------------- 1 file changed, 218 insertions(+), 235 deletions(-) diff --git a/index.html b/index.html index 1da174e..995c8a2 100644 --- a/index.html +++ b/index.html @@ -82,9 +82,15 @@
@@ -122,7 +128,7 @@
- -
+
-
-
- +
+
+
+
+
+ 0:00 + 0:00 +
+
+
+ + +
+
+
+
+
+
+
+ +
+
+ - - - + +
No attachments selected.
+ + + @@ -234,52 +271,8 @@
-
No attachments selected.
- - - - - -
-
- - -
-
@@ -307,7 +300,7 @@
-