mirror of
https://github.com/kbenestad/invoice.git
synced 2026-06-18 08:04:32 +00:00
Zoom: 50%–150% in 10% steps, default 100%
https://claude.ai/code/session_01MkM7p8Us3L8YAfLKGA13NS
This commit is contained in:
parent
24909e6f45
commit
f47f524a84
1 changed files with 3 additions and 3 deletions
|
|
@ -638,9 +638,9 @@ function updateInvMeta() {
|
|||
}
|
||||
|
||||
// ── Font-size accessibility ────────────────────────────────────────────────────
|
||||
const ZOOMS = [0.8, 0.85, 0.9, 0.95, 1.0, 1.1, 1.2, 1.3];
|
||||
const ZOOM_LABELS = ["80%", "85%", "90%", "95%", "100%", "110%", "120%", "130%"];
|
||||
let zoomIdx = +(localStorage.getItem("zoomIdx") ?? 4);
|
||||
const ZOOMS = [0.5,0.6,0.7,0.8,0.9,1.0,1.1,1.2,1.3,1.4,1.5];
|
||||
const ZOOM_LABELS = ["50%","60%","70%","80%","90%","100%","110%","120%","130%","140%","150%"];
|
||||
let zoomIdx = +(localStorage.getItem("zoomIdx") ?? 5);
|
||||
|
||||
function applyZoom() {
|
||||
const fr = document.getElementById("form-root");
|
||||
|
|
|
|||
Loading…
Reference in a new issue