Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
refactor(dashboard): remove remaining redundant padding/max-width across all pages
diegosouzapw93526e3d9cf4
diff --git a/src/app/(dashboard)/dashboard/analytics/loading.tsx b/src/app/(dashboard)/dashboard/analytics/loading.tsxindex 9a4943a4aa..e14f4b2543 100644--- a/src/app/(dashboard)/dashboard/analytics/loading.tsx+++ b/src/app/(dashboard)/dashboard/analytics/loading.tsx@@ -4,7 +4,7 @@ import { Skeleton } from "@/shared/components/Loading";export default function AnalyticsLoading() {return (- <div className="space-y-6 p-6" role="status" aria-live="polite" aria-busy="true">+ <div className="space-y-6" role="status" aria-live="polite" aria-busy="true"><Skeleton className="h-8 w-40" /><div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">{[0, 1, 2, 3].map((index) => (diff --git a/src/app/(dashboard)/dashboard/endpoint/ApiEndpointsTab.tsx b/src/app/(dashboard)/dashboard/endpoint/ApiEndpointsTab.tsxindex 4f9b8c9b83..2ebd1fcfd1 100644--- a/src/app/(dashboard)/dashboard/endpoint/ApiEndpointsTab.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/ApiEndpointsTab.tsx@@ -273,17 +273,15 @@ export default function ApiEndpointsTab() {if (loading) {return (- <div className="p-6 max-w-6xl mx-auto">- <div className="animate-pulse space-y-4">- <div className="h-8 bg-white/5 rounded-lg w-1/3" />- <div className="h-64 bg-white/5 rounded-xl" />- </div>+ <div className="animate-pulse space-y-4">+ <div className="h-8 bg-white/5 rounded-lg w-1/3" />+ <div className="h-64 bg-white/5 rounded-xl" /></div>);}return (- <div className="p-6 max-w-6xl mx-auto space-y-5">+ <div className="space-y-5">{/* Header with spec info */}{catalog && (<Card className="p-5">diff --git a/src/app/(dashboard)/dashboard/endpoint/components/A2ADashboard.tsx b/src/app/(dashboard)/dashboard/endpoint/components/A2ADashboard.tsxindex 521bb922ae..c7bd9081e9 100644--- a/src/app/(dashboard)/dashboard/endpoint/components/A2ADashboard.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/components/A2ADashboard.tsx@@ -295,15 +295,11 @@ export default function A2ADashboardPage() {};if (loading) {- return (- <div className="p-6 max-w-7xl mx-auto">- <div className="text-sm text-text-muted">{t("loading")}</div>- </div>- );+ return <div className="text-sm text-text-muted">{t("loading")}</div>;}return (- <div className="p-6 max-w-7xl mx-auto space-y-6">+ <div className="space-y-6"><div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4"><StatCard label={t("health")} value={status?.status === "ok" ? t("ok") : "—"} /><StatCard label={t("totalTasks")} value={status?.tasks?.total || 0} />diff --git a/src/app/(dashboard)/dashboard/endpoint/components/MCPDashboard.tsx b/src/app/(dashboard)/dashboard/endpoint/components/MCPDashboard.tsxindex e4bd6de419..0016b00508 100644--- a/src/app/(dashboard)/dashboard/endpoint/components/MCPDashboard.tsx+++ b/src/app/(dashboard)/dashboard/endpoint/components/MCPDashboard.tsx@@ -355,15 +355,11 @@ export default function McpDashboardPage() {const topTools = status?.activity?.topTools || [];if (loading) {- return (- <div className="p-6 max-w-7xl mx-auto">- <div className="text-sm text-text-muted">{t("loading")}</div>- </div>- );+ return <div className="text-sm text-text-muted">{t("loading")}</div>;}return (- <div className="p-6 max-w-7xl mx-auto space-y-6">+ <div className="space-y-6"><div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4"><StatCard label={t("processStatus")} value={status?.online ? t("online") : t("offline")} /><StatCard label={t("pid")} value={status?.heartbeat?.pid ?? "—"} />diff --git a/src/app/(dashboard)/dashboard/providers/error.tsx b/src/app/(dashboard)/dashboard/providers/error.tsxindex 413570f9c0..086ef9d5b6 100644--- a/src/app/(dashboard)/dashboard/providers/error.tsx+++ b/src/app/(dashboard)/dashboard/providers/error.tsx@@ -9,7 +9,7 @@ export default function ProvidersError({}) {return (<div- className="flex flex-col items-center justify-center min-h-[400px] p-6"+ className="flex flex-col items-center justify-center min-h-[400px]"role="alert"aria-live="assertive">diff --git a/src/app/(dashboard)/dashboard/providers/loading.tsx b/src/app/(dashboard)/dashboard/providers/loading.tsxindex b02bba2e76..7a05100584 100644--- a/src/app/(dashboard)/dashboard/providers/loading.tsx+++ b/src/app/(dashboard)/dashboard/providers/loading.tsx@@ -4,7 +4,7 @@ import { CardSkeleton, Skeleton } from "@/shared/components/Loading";export default function ProvidersLoading() {return (- <div className="space-y-6 p-6" role="status" aria-live="polite" aria-busy="true">+ <div className="space-y-6" role="status" aria-live="polite" aria-busy="true"><Skeleton className="h-8 w-48" /><div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">{[0, 1, 2].map((index) => (diff --git a/src/app/(dashboard)/dashboard/settings/error.tsx b/src/app/(dashboard)/dashboard/settings/error.tsxindex e5683558fa..4449ef5cb3 100644--- a/src/app/(dashboard)/dashboard/settings/error.tsx+++ b/src/app/(dashboard)/dashboard/settings/error.tsx@@ -9,7 +9,7 @@ export default function SettingsError({}) {return (<div- className="flex flex-col items-center justify-center min-h-[400px] p-6"+ className="flex flex-col items-center justify-center min-h-[400px]"role="alert"aria-live="assertive">diff --git a/src/app/(dashboard)/dashboard/settings/loading.tsx b/src/app/(dashboard)/dashboard/settings/loading.tsxindex 9ba5628e20..7130794500 100644--- a/src/app/(dashboard)/dashboard/settings/loading.tsx+++ b/src/app/(dashboard)/dashboard/settings/loading.tsx@@ -4,7 +4,7 @@ import { Skeleton } from "@/shared/components/Loading";export default function SettingsLoading() {return (- <div className="space-y-6 p-6" role="status" aria-live="polite" aria-busy="true">+ <div className="space-y-6" role="status" aria-live="polite" aria-busy="true"><Skeleton className="h-8 w-36" /><div className="space-y-4">{[0, 1, 2, 3].map((index) => (diff --git a/src/app/(dashboard)/dashboard/settings/pricing/page.tsx b/src/app/(dashboard)/dashboard/settings/pricing/page.tsxindex b2c3acf263..4a25559cfd 100644--- a/src/app/(dashboard)/dashboard/settings/pricing/page.tsx+++ b/src/app/(dashboard)/dashboard/settings/pricing/page.tsx@@ -53,7 +53,7 @@ export default function PricingSettingsPage() {};return (- <div className="max-w-6xl mx-auto p-6 space-y-6">+ <div className="space-y-6">{/* Header */}<div className="flex items-center justify-between"><div>diff --git a/src/app/(dashboard)/dashboard/system/proxy/page.tsx b/src/app/(dashboard)/dashboard/system/proxy/page.tsxindex 9ddf0c390c..0ff446ebdf 100644--- a/src/app/(dashboard)/dashboard/system/proxy/page.tsx+++ b/src/app/(dashboard)/dashboard/system/proxy/page.tsx@@ -18,7 +18,7 @@ export default function ProxyPage() {const [activeSubTab, setActiveSubTab] = useState("http");return (- <div className="max-w-6xl mx-auto min-w-0">+ <div className="min-w-0"><div className="flex flex-col gap-6"><div className="w-full overflow-x-auto pb-1"><div