From 9f75279e9b0db8f9cfc8b4db78bf017c1d2f91d5 Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 1 Nov 2026 07:03:53 +0800 Subject: [PATCH] gui: Hide accounts keeps its old flex on Routing and Usage 3f2faef62 moved .rt-mask's rules from routing.css to app.css and gave the shared rule flex: none, which the Providers page's switch needs beside its search box. Routing's and Usage's buttons had flex 0 1 auto before; flex: none is now scoped to #view-providers .pv-head > .rt-mask, so those two pages lay out as they did. Run on mote: provider-mask, window-mask, mask-emails, privacy-hides-accounts and routing-many-keys, 91/92. The red is routing-many-keys "a wire ends at each key in sight at the foot" (webkit en), which goes red 1 run in 3 with or without this change and green 3 of 3 at origin/main 6712e367e alone; it is #4082 (red on main under load). Not tried: Routing and Usage headers at every width in a whole GUI run after this change. --- internal/gui/assets/app.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/gui/assets/app.css b/internal/gui/assets/app.css index b2c18ed9c..4bd4212ed 100644 --- a/internal/gui/assets/app.css +++ b/internal/gui/assets/app.css @@ -2434,7 +2434,8 @@ body.window .ag-sk-icon { width: 22px; height: 22px; border-radius: 6px; } /* Hide accounts, on Routing, Usage and (its own switch) Providers. On, it says so in its struck eye and its words, a shade darker: a page tool, not a banner */ -.rt-mask { display: inline-flex; align-items: center; gap: 5px; flex: none; } +.rt-mask { display: inline-flex; align-items: center; gap: 5px; } +#view-providers .pv-head > .rt-mask { flex: none; } .rt-mask svg { width: 13px; height: 13px; flex: none; } .rt-mask[aria-pressed="true"] { color: var(--fg-2); } #view-providers .pv-q { flex: 0 1 220px; min-width: 120px; }