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
This commit is contained in:
juanatsap
2025-11-17 17:03:17 +00:00
parent 35a836adf3
commit de67c73048
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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">
<span class="zoom-value zoom-value-max" aria-hidden="true">175</span>
<span class="zoom-value zoom-value-max" aria-hidden="true">300</span>
<button
id="zoom-reset"