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.
This commit is contained in:
yetone
2026-11-01 07:03:53 +08:00
parent 2297597f03
commit 9f75279e9b
+2 -1
View File
@@ -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; }