The root cause is the missing flex wrapper. `SidebarInset` is a column flex
container, and `SettingsPageContainer` is `flex-1 overflow-y-auto` — but a flex
child defaults to `min-height: auto`, so it refuses to shrink below its content.
The page therefore grew past the `h-dvh overflow-hidden` inset instead of
scrolling inside it. The settings route wraps its own `<Outlet/>` in
`min-h-0 min-w-0 flex-1 flex-col` for exactly this reason; the Agent page
dropped that wrapper and put the container directly inside the inset.
Three content-level cases could also push the page sideways, all of them
agent-authored strings this page has no control over:
- Skill bodies are arbitrary markdown and can carry a wide code fence or an
unbroken URL. Now `min-w-0 overflow-x-auto`, so a wide block scrolls itself
rather than widening the page.
- Skill names can be long and unbroken; `flex-wrap` cannot split a single word,
so the name gets `break-all`.
- The header falls back to the instance id — an unbroken slug like
`hermes-siva-local-c9cc0b168af9` — rendered at `text-2xl`, which overruns a
narrow viewport without `break-words`.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>