fix(shell): load the domain menu deferred and let the header wrap on narrow screens

The menu and its overlay were in the initial bundle of every route (+183 kB); they now load in their own chunk, with a same-size placeholder. On phones the title moves to a second row instead of being squeezed beside the selector.

(cherry picked from commit 2ccddf80dbbe41a328281fcdc1c95ebe421f4191)
This commit is contained in:
Angel Capetillo Zavala
2026-11-12 01:36:28 -06:00
parent ff03a88ea0
commit e95c175f9b
5 changed files with 53 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
:host { display: contents; }
.domain-selector {
flex: 0 0 auto;
background-color: var(--issste-accent);
color: var(--issste-text);
font-weight: 700;
white-space: nowrap;
}
.domain-selector:hover { background-color: var(--issste-accent); filter: brightness(.94); }
.domain-selector:focus-visible { outline: 2px solid var(--issste-text); outline-offset: 2px; }