fix(ui): unify layout padding across all panels

Remove max-width constraints and standardize padding to px-6 for consistent full-width layout across header and all content panels.
This commit is contained in:
Jason
2026-01-22 23:55:19 +08:00
parent cfb113ac8d
commit 3d733a3b80
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ const PromptPanel = React.forwardRef<PromptPanelHandle, PromptPanelProps>(
const enabledPrompt = promptEntries.find(([_, p]) => p.enabled);
return (
<div className="flex flex-col h-[calc(100vh-8rem)] px-4 max-w-[56rem] mx-auto">
<div className="flex flex-col h-[calc(100vh-8rem)] px-6">
<div className="flex-shrink-0 py-4 glass rounded-xl border border-white/10 mb-4 px-6">
<div className="text-sm text-muted-foreground">
{t("prompts.count", { count: promptEntries.length })} ·{" "}