diff --git a/app/[workspace]/project/[projectId]/design/page.tsx b/app/[workspace]/project/[projectId]/design/page.tsx index d984a1e..daf9b83 100644 --- a/app/[workspace]/project/[projectId]/design/page.tsx +++ b/app/[workspace]/project/[projectId]/design/page.tsx @@ -320,63 +320,6 @@ function SurfaceSection({ return (
- {/* Tab bar */} -
- {surface.themes.map(theme => { - const isActive = theme.id === previewId; - const isLocked = theme.id === lockedThemeId; - return ( - - ); - })} - - {/* Spacer + actions */} -
- {activeTheme && ( - - {activeTheme.name} docs ↗ - - )} - {lockedThemeId ? ( - - ) : ( - - )} -
-
{/* Scaffold preview — browser chrome frame */}
@@ -397,24 +340,81 @@ function SurfaceSection({ ? : (
- Select a library above to preview + Select a library below to preview
) }
- {/* Theme description */} - {activeTheme && ( -
-

{activeTheme.description}

-
- {activeTheme.tags.map(t => ( - {t} - ))} -
+ {/* Controls bar — library tabs + description + lock in */} +
+ {/* Library tab row */} +
+ {surface.themes.map(theme => { + const isActive = theme.id === previewId; + const isLocked = theme.id === lockedThemeId; + return ( + + ); + })}
- )} + + {/* Description + tags + actions */} +
+ {activeTheme && ( + <> +

{activeTheme.description}

+
+ {activeTheme.tags.map(t => ( + {t} + ))} +
+ + Docs ↗ + + + )} + {lockedThemeId ? ( + + ) : ( + + )} +
+
); }