From d4b7f883e1ec99ea3222a4af9e7680e249ee02c4 Mon Sep 17 00:00:00 2001 From: moh Date: Sun, 20 Sep 2026 18:01:03 +0200 Subject: [PATCH] STYLED - Drop section cards in the project form, lay content flat on the page Experiment: remove the AppCard wrappers around Basic Information, Localized Content, Sections and Cover/Assets, plus the action bar, so the form content sits directly on the page. Section headers now carry a thin underline and the action bar a top divider to keep structure without card chrome. Two-column layout preserved. No field-name or save-logic changes. --- components/admin/portfolio-project-form.tsx | 36 ++++++--------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/components/admin/portfolio-project-form.tsx b/components/admin/portfolio-project-form.tsx index 217a0f6..4fcc06b 100644 --- a/components/admin/portfolio-project-form.tsx +++ b/components/admin/portfolio-project-form.tsx @@ -337,7 +337,7 @@ function SectionHeader({ action?: ReactNode; }) { return ( -
+

{title}

{description}

@@ -595,9 +595,7 @@ export function PortfolioProjectForm({
-
- -
+
- - -
+ -
- -
+
-
- -
+ -
- -
+
)} -
- -
+ -
- -
+
)}
-
-
- +
{showValidation && firstIncompleteStep ? (
@@ -1202,7 +1186,7 @@ export function PortfolioProjectForm({ setIntent("save")} />
- +
); }