From de67c73048bb03fea3bda04671801cbabd2cb652 Mon Sep 17 00:00:00 2001 From: juanatsap Date: Mon, 17 Nov 2025 17:03:17 +0000 Subject: [PATCH] feat: increase zoom range from 175% to 300% User can now zoom up to 300% for better readability. Changes: - Update zoom slider max from 175 to 300 - Update aria-valuemax to 300 - Update display label to show 300 - Update README to reflect new range (25%-300%) Tested with curl - verified max="300" in HTML output --- README.md | 2 +- templates/partials/widgets/zoom-control.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5d95c96..3868307 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ A professional, bilingual CV site with server-side PDF generation, HTMX interact - ✅ **Browser Print** - Alternative print-friendly layout for manual PDF creation - ✅ **HTMX Dynamic Updates** - Smooth UX without heavy JavaScript - ✅ **Paper Design** - Professional CV on elegant white paper with gray background -- ✅ **Zoom Control** - Adjustable zoom (25%-175%) with persistence across sessions +- ✅ **Zoom Control** - Adjustable zoom (25%-300%) with persistence across sessions - ✅ **Responsive** - Mobile, tablet, and desktop friendly - ✅ **JSON-Based Content** - Easy to update without touching code - ✅ **AI Development Section** - Showcases modern AI-assisted development skills diff --git a/templates/partials/widgets/zoom-control.html b/templates/partials/widgets/zoom-control.html index 92770af..036451d 100644 --- a/templates/partials/widgets/zoom-control.html +++ b/templates/partials/widgets/zoom-control.html @@ -99,12 +99,12 @@ id="zoom-slider" class="zoom-slider" min="25" - max="175" + max="300" step="1" value="100" aria-label="{{if eq .Lang "es"}}Ajustar nivel de zoom del CV{{else}}Adjust CV zoom level{{end}}" aria-valuemin="25" - aria-valuemax="175" + aria-valuemax="300" aria-valuenow="100" aria-valuetext="100%" _="on input @@ -144,7 +144,7 @@ -- Save to localStorage set localStorage['cv-zoom'] to zoomValue"> - +