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:
@@ -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
|
- ✅ **Browser Print** - Alternative print-friendly layout for manual PDF creation
|
||||||
- ✅ **HTMX Dynamic Updates** - Smooth UX without heavy JavaScript
|
- ✅ **HTMX Dynamic Updates** - Smooth UX without heavy JavaScript
|
||||||
- ✅ **Paper Design** - Professional CV on elegant white paper with gray background
|
- ✅ **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
|
- ✅ **Responsive** - Mobile, tablet, and desktop friendly
|
||||||
- ✅ **JSON-Based Content** - Easy to update without touching code
|
- ✅ **JSON-Based Content** - Easy to update without touching code
|
||||||
- ✅ **AI Development Section** - Showcases modern AI-assisted development skills
|
- ✅ **AI Development Section** - Showcases modern AI-assisted development skills
|
||||||
|
|||||||
@@ -99,12 +99,12 @@
|
|||||||
id="zoom-slider"
|
id="zoom-slider"
|
||||||
class="zoom-slider"
|
class="zoom-slider"
|
||||||
min="25"
|
min="25"
|
||||||
max="175"
|
max="300"
|
||||||
step="1"
|
step="1"
|
||||||
value="100"
|
value="100"
|
||||||
aria-label="{{if eq .Lang "es"}}Ajustar nivel de zoom del CV{{else}}Adjust CV zoom level{{end}}"
|
aria-label="{{if eq .Lang "es"}}Ajustar nivel de zoom del CV{{else}}Adjust CV zoom level{{end}}"
|
||||||
aria-valuemin="25"
|
aria-valuemin="25"
|
||||||
aria-valuemax="175"
|
aria-valuemax="300"
|
||||||
aria-valuenow="100"
|
aria-valuenow="100"
|
||||||
aria-valuetext="100%"
|
aria-valuetext="100%"
|
||||||
_="on input
|
_="on input
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
-- Save to localStorage
|
-- Save to localStorage
|
||||||
set localStorage['cv-zoom'] to zoomValue">
|
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
|
<button
|
||||||
id="zoom-reset"
|
id="zoom-reset"
|
||||||
|
|||||||
Reference in New Issue
Block a user