swarm-ui: give every tab the wide body
The shell had two body widths, a 60em readable column and a 90em wide body that a short list of table routes opted into. Every route now gets the 90em body, and the opt-in route list, its modifier class and its test go away.
This commit is contained in:
parent
0e7aa74d00
commit
89efda5ea2
1 changed files with 14 additions and 51 deletions
|
|
@ -229,8 +229,10 @@
|
|||
background: color-mix(in srgb, var(--fg) 10%, transparent);
|
||||
}
|
||||
|
||||
/* One width for every tab's contents: 90em still centers with visible margins
|
||||
on a typical desktop viewport; it isn't full-bleed. */
|
||||
.shell-body {
|
||||
max-width: 60em;
|
||||
max-width: 90em;
|
||||
margin: 0 auto;
|
||||
padding: 1.5em 1.25em;
|
||||
/* Plain fade, deliberately — mara's call on review: a scale+overshoot
|
||||
|
|
@ -239,15 +241,6 @@
|
|||
having shipped something to walk back first. */
|
||||
animation: shell-page-enter 160ms ease;
|
||||
}
|
||||
/* Opt-in widening for a route that genuinely needs more than a
|
||||
readable-line-length column (see Shell.tsx's `WIDE_BODY_ROUTES`).
|
||||
Only overrides `max-width` — margin/padding/animation stay
|
||||
`.shell-body`'s, so this reads as "the same body, just wider" rather
|
||||
than a parallel layout to keep in sync. 90em still centers with
|
||||
visible margins on a typical desktop viewport; it isn't full-bleed. */
|
||||
.shell-body-wide {
|
||||
max-width: 90em;
|
||||
}
|
||||
/* Full-bleed route (the agent terminal): the shell becomes a viewport-high
|
||||
column, the header keeps its natural height, and the body takes every
|
||||
remaining pixel with no width cap or padding. `100dvh`, not `100vh` —
|
||||
|
|
|
|||
Loading…
Reference in a new issue