From c074a085cca9d97d9b4eb18f21004fb41f7857f6 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 16 Nov 2026 18:44:24 +0100 Subject: fix(ui): serve the Propo Nerd Font so icons centre The plain Inconsolata Nerd Font gives each icon a 500 unit advance while its ink is up to twice that wide, so every Nerd Font button sat right of centre. The Propo variant's advance is the ink, so centring works for all of them; the VM power button's padding workaround goes. The URL becomes /fonts/nerd-propo.ttf because the font is cached for a day. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index ed90af8..af38260 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -118,8 +118,10 @@ Keep the server dependency-free apart from that one package. `qs -p <[assistant] shell> ipc call assistant catalog`. Files are picked on the PC with qarma, never named by the tablet. Voice is a WAV upload (`Module.uploads`, a raw body with its own size limit) written to the run - dir and asked with `audio`. The tab's icons are the Nerd Font the server - serves at `/fonts/nerd.ttf`; Markdown goes through `static/md.js` + dir and asked with `audio`. The tab's icons are the Nerd Font (Propo, so + a glyph's advance is its ink and centring works) the server serves at + `/fonts/nerd-propo.ttf`, cached a day: rename the URL when the font + changes; Markdown goes through `static/md.js` (vendored `marked`, HTML escaped, images never fetched). - The page holds a Screen Wake Lock while visible, so the tablet never sleeps over the dashboard. After `[tablet] dim_after` seconds untouched, `app.js` -- cgit v1.2.3