From a05d4a9a137f0e3b3af27bda25be2018dabfdbf0 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Sat, 15 Aug 2026 17:21:50 -0400 Subject: [PATCH] style: bake in 90% zoom scale via root font-size Set html { font-size: 90% } so the whole UI (sidebar, typography, spacing) renders at the ~90% browser-zoom look the owner prefers, consistently on both the Pi and the remote server. --- static/yaris.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/yaris.css b/static/yaris.css index 5759562..161573d 100644 --- a/static/yaris.css +++ b/static/yaris.css @@ -1,5 +1,12 @@ /* ── Layout ──────────────────────────────────────────────────────────────── */ +/* The UI is designed to look best at ~90% browser zoom, so bake that scale in + by shrinking the root font size — every rem-based size (sidebar, typography, + spacing) follows. */ +html { + font-size: 90%; +} + :root { --sidebar-width: 14rem; --sidebar-collapsed-width: 4rem;