From cd62f2f75269403821e5379a37166c51c465188d Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Thu, 26 Nov 2026 20:04:33 +0100 Subject: [PATCH] feat(options): rename navbarfontcolor to "Text color in header"; re-measure header alignment on tab show MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Row 142, two changes: 1. The navbarfontcolor option is renamed "Menu item color in header" -> "Text color in header" (child: "Custom text color in header ..."). Labels are read live from config.xml, no reset needed. 2. The header background color column alignment (row 136) is now re-measured when the Top-of-page tab is shown (shown.bs.tab) and on window resize, and after the stored-tab restore (row 133) when that tab is Top-of-page. Reason: at page load the Top-of-page pane is usually hidden (display:none), where getBoundingClientRect returns 0 — so the one-shot measurement in run() computed a 0 offset and the background column was never lowered on the real page. OPTIONS_JS_TOKEN -> 20261126.17. Verified: render tc=663 (new label, old label gone, options.js?v=20261126.17), jsdom 7/7 incl. new pins (padding re-applied on shown.bs.tab, label renamed), export exit 0. Variants not rebuilt (deferred). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- config.xml | 4 ++-- options/options.js | 26 ++++++++++++++++++++++---- options/options.twig | 4 ++-- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/config.xml b/config.xml index 4fe288f..95de3b0 100644 --- a/config.xml +++ b/config.xml @@ -257,7 +257,7 @@ "Default background color", "Color 1", "Color 2", "Color 3", "Other ..." — options.js appends each entry's live hexcode in brackets (for "Other ..." the custom color's hex) and bolds the default. --> - default + default @@ -266,7 +266,7 @@ - #444444 + #444444 #5e1c64