From 7b3844bd2ddff4089fbe187fef4fd56c7e10d593 Mon Sep 17 00:00:00 2001 From: Willie Date: Wed, 18 Mar 2026 18:34:53 +0800 Subject: [PATCH] fix(ui): align NewSkillPage layout with dashboard conventions - Add space-y-5 to root container (matches all other pages) - Remove redundant mt-6/mt-8 margins - Redesign scaffold step from cramped inline checkboxes to card grid with folder icons (matches pattern/category style) - Remove unused Checkbox import --- ui/src/pages/NewSkillPage.tsx | 49 +++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/ui/src/pages/NewSkillPage.tsx b/ui/src/pages/NewSkillPage.tsx index b4623bbd6..ced0314c6 100644 --- a/ui/src/pages/NewSkillPage.tsx +++ b/ui/src/pages/NewSkillPage.tsx @@ -7,7 +7,6 @@ import Card from '../components/Card'; import Button from '../components/Button'; import PageHeader from '../components/PageHeader'; import { Input } from '../components/Input'; -import { Checkbox } from '../components/Checkbox'; import { PageSkeleton } from '../components/Skeleton'; import { useToast } from '../components/Toast'; import { useAppContext } from '../context/AppContext'; @@ -186,7 +185,7 @@ export default function NewSkillPage() { if (templatesPending) return ; return ( -
+
} title="Create New Skill" @@ -198,7 +197,7 @@ export default function NewSkillPage() { {/* Step content */} -
+
{currentStep === 'name' && ( {/* Navigation buttons */} -
+
+ ); + })}
- +
); }