diff --git a/apps/admin/src/components/EditorShell.tsx b/apps/admin/src/components/EditorShell.tsx index 5afcf82..57f8a00 100644 --- a/apps/admin/src/components/EditorShell.tsx +++ b/apps/admin/src/components/EditorShell.tsx @@ -200,7 +200,7 @@ export default function EditorShell({ onLogout, initialPostId, onBack }: { onLog {/* Right content: Stepper and step panels */} - + {[ 'Assets', 'AI Prompt', 'Generate', 'Edit', 'Metadata', 'Publish' ].map((label, idx) => ( @@ -211,6 +211,7 @@ export default function EditorShell({ onLogout, initialPostId, onBack }: { onLog ))} + {activeStep === 0 && ( )} + - {/* Sticky bottom nav so Back/Next don't move */} - + {/* Bottom nav fixed to panel bottom via grid */} + diff --git a/apps/admin/src/components/steps/StepContainer.tsx b/apps/admin/src/components/steps/StepContainer.tsx index fdb4ae8..f3abd89 100644 --- a/apps/admin/src/components/steps/StepContainer.tsx +++ b/apps/admin/src/components/steps/StepContainer.tsx @@ -3,7 +3,7 @@ import type { PropsWithChildren } from 'react'; export default function StepContainer({ children, sx }: PropsWithChildren<{ sx?: SxProps }>) { return ( - + {children} );