fix: center settings content within content area

Content was left-aligned in the content pane, making it appear
off-center relative to the full modal. Add mx-auto to center
the max-w-[640px] wrapper within the content area, matching
Discord's centering behavior.
This commit is contained in:
Jannis Braun
2026-03-22 02:33:05 +01:00
parent 2fdf379cb2
commit 9812e13a0e
2 changed files with 2 additions and 2 deletions
@@ -158,7 +158,7 @@ export function UserSettingsModal() {
{/* Content area (desktop always, mobile only when viewing content) */}
{(!isMobile || mobileView === 'content') && (
<div className="flex-1 min-w-0 overflow-y-auto scrollbar-thin py-6">
<div className="px-6 max-w-[640px]">
<div className="px-6 max-w-[640px] mx-auto">
{/* Mobile back button */}
{isMobile && (
<button