From 1de99be73a0e9e163b5e8b547b0759168889e7e7 Mon Sep 17 00:00:00 2001 From: Arnas Donauskas Date: Thu, 18 Jun 2026 15:30:41 +0300 Subject: [PATCH] fix(settings): full-bleed layout so the page fills wide screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Settings page was the only dashboard route capped at max-w-[1040px] mx-auto, so it floated centered with large empty gutters on wide monitors while every other page is full-bleed. Remove the cap so the page fills the available width like the rest of the app, and spend the space where it helps readability: - Overview status tiles go 3-up on xl (from 2-up). - Templates list goes 2-up on xl. - Form-heavy panels (Profile, Login & security, Deals) keep a readable max-w-2xl; Fields & tags and Appearance use max-w-3xl — so inputs don't stretch edge-to-edge on large displays. - Grid uses minmax(0,1fr) to avoid blowout from long content. Co-Authored-By: Claude Opus 4.8 --- src/app/(dashboard)/settings/page.tsx | 4 ++-- src/components/settings/appearance-panel.tsx | 2 +- src/components/settings/deals-settings.tsx | 2 +- src/components/settings/fields-and-tags-panel.tsx | 2 +- src/components/settings/profile-form.tsx | 2 +- src/components/settings/security-panel.tsx | 2 +- src/components/settings/settings-overview.tsx | 2 +- src/components/settings/template-manager.tsx | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/(dashboard)/settings/page.tsx b/src/app/(dashboard)/settings/page.tsx index ff4f6f2..7f607b3 100644 --- a/src/app/(dashboard)/settings/page.tsx +++ b/src/app/(dashboard)/settings/page.tsx @@ -62,7 +62,7 @@ export default function SettingsPage() { }; return ( -
+

Settings @@ -73,7 +73,7 @@ export default function SettingsPage() {

-
+
{panel[section]}
diff --git a/src/components/settings/appearance-panel.tsx b/src/components/settings/appearance-panel.tsx index 693608d..0a83bd7 100644 --- a/src/components/settings/appearance-panel.tsx +++ b/src/components/settings/appearance-panel.tsx @@ -22,7 +22,7 @@ import { SettingsPanelHead } from "./settings-panel-head"; export function AppearancePanel() { const { theme, setTheme, mode, setMode } = useTheme(); return ( -
+
+
+
+
+
{/* Status tiles */} -
+
{tiles.map(({ section, loading, subtitle }) => { const meta = SECTION_META[section]; const Icon = meta.icon; diff --git a/src/components/settings/template-manager.tsx b/src/components/settings/template-manager.tsx index f36bb37..0d6ab27 100644 --- a/src/components/settings/template-manager.tsx +++ b/src/components/settings/template-manager.tsx @@ -515,7 +515,7 @@ export function TemplateManager() { ) : ( -
+
{templates.map((template) => { const statusKey = template.status || 'DRAFT'; const status = templateStatusConfig[statusKey];