mirror of
https://github.com/kbenestad/reimburse.git
synced 2026-06-18 08:04:31 +00:00
Zoom range 50–150% in 10% increments
https://claude.ai/code/session_01JyuActqTJG5tuRQNLmT7fZ
This commit is contained in:
parent
138c29a3a4
commit
da66515394
1 changed files with 2 additions and 2 deletions
|
|
@ -718,8 +718,8 @@ function render() {
|
|||
toolbar.appendChild(el('div', {className:'spacer'}));
|
||||
|
||||
// Font size — A− / A+ with a live % label
|
||||
const scales = [0.8, 0.9, 1, 1.12, 1.25];
|
||||
let scaleIdx = 2; // default: 100%
|
||||
const scales = [0.5,0.6,0.7,0.8,0.9,1,1.1,1.2,1.3,1.4,1.5];
|
||||
let scaleIdx = 5; // default: 100%
|
||||
const szLabel = el('span', {style:'font-size:12px;color:var(--text-muted);font-family:var(--font-mono)'}, '100%');
|
||||
const sizeSeg = el('div', {className:'kb-seg', role:'group', 'aria-label':'Text size'});
|
||||
const szDown = el('button', {type:'button', 'aria-label':'Smaller text'}, 'A−');
|
||||
|
|
|
|||
Loading…
Reference in a new issue