fix(desktop): let settings content use full pane width

Remove the max-w-4xl wrapper from SettingsContent so every settings
page can use the available overlay width.
This commit is contained in:
Brooklyn Nicholson 2026-07-02 19:26:55 -05:00 committed by brooklyn!
parent ed4123792c
commit 4d88facfc1

View file

@ -11,9 +11,7 @@ import { PAGE_INSET_X } from '../layout-constants'
export function SettingsContent({ children }: { children: ReactNode }) {
return (
<section className="min-h-0 overflow-hidden">
<div className={cn('h-full min-h-0 overflow-y-auto pb-20', PAGE_INSET_X)}>
<div className="mx-auto w-full max-w-4xl">{children}</div>
</div>
<div className={cn('h-full min-h-0 overflow-y-auto pb-20', PAGE_INSET_X)}>{children}</div>
</section>
)
}