fix(admin): keep the admin tabs on one row and give Emails its own icon

#952 and #953 added Billing and Emails to the admin tabs. From 768px to
~860px the eight tabs no longer fit, so Errors wrapped onto a second row
under the others. In that range the tabs now drop their icons, as on
phones, and stay on one row (scrolling, not wrapping, if still too wide).

Emails reused the Queues list icon; it now has an envelope (ui-icon-mail).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thomas DurieuxandClaude Opus 5.5 committed 2026-11-28 20:17:18 +00:00
1 parent 6c167a660e
commit 48a246222e
14 files changed
+25 -15

No files matched your search

+9
View File
@@ -14117,6 +14117,15 @@ body.dark-mode .errors-page .sev-dot.sev-info { background: var(--ink-faint) !im
.admin-page .admin-nav a { --tab-drop: 0px; }
.settings-nav button { max-width: none !important; }
}
/* Tablets: the eight admin tabs no longer fit one row with icons below ~860px.
Drop the icons, as on phones, so every tab stays on one row; the row scrolls
rather than wrapping a tab under the others if it still runs out of room. */
@media (min-width: 768px) and (max-width: 859px) {
.admin-page .admin-nav { flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none; border-bottom: 0 !important; box-shadow: inset 0 -1px 0 var(--border-color); }
.admin-page .admin-nav::-webkit-scrollbar { display: none; }
.admin-page .admin-nav a { flex: none; --tab-drop: 0px; }
.admin-page .admin-nav a .ui-icon { display: none !important; }
}
/* Home features. Desktop: a vertical rail, 1px, with the selected step's 2px line on it.
Phone: a horizontal tab bar with one continuous rule. */
.paper-feature { border-left: 1px solid var(--border-color) !important; }