@@ -522,7 +522,7 @@ export default function TemplateDetails({ isWorkspaceContext = false }: Template
522522 < div className = { cn ( 'flex min-h-screen flex-col' , isWorkspaceContext && 'pl-64' ) } >
523523 < div className = 'flex flex-1 overflow-hidden' >
524524 < div className = 'flex flex-1 flex-col overflow-auto px-[24px] pt-[24px] pb-[24px]' >
525- { /* Top bar with back button and action buttons */ }
525+ { /* Top bar with back button */ }
526526 < div className = 'flex items-center justify-between' >
527527 { /* Back button */ }
528528 < button
@@ -532,6 +532,11 @@ export default function TemplateDetails({ isWorkspaceContext = false }: Template
532532 < ArrowLeft className = 'h-[14px] w-[14px]' />
533533 < span > Back</ span >
534534 </ button >
535+ </ div >
536+
537+ { /* Template name and action buttons */ }
538+ < div className = 'mt-[24px] flex items-center justify-between' >
539+ < h1 className = 'font-medium text-[18px]' > { template . name } </ h1 >
535540
536541 { /* Action buttons */ }
537542 < div className = 'flex items-center gap-[8px]' >
@@ -636,9 +641,9 @@ export default function TemplateDetails({ isWorkspaceContext = false }: Template
636641 variant = 'primary'
637642 onClick = { handleUseTemplate }
638643 disabled = { isUsing }
639- className = 'h-[32px] rounded-[6px]'
644+ className = '!text-[#FFFFFF] h-[32px] rounded-[6px] px-[12px] text-[14px ]'
640645 >
641- { isUsing ? 'Creating...' : 'Use' }
646+ { isUsing ? 'Creating...' : 'Use template ' }
642647 </ Button >
643648 ) : (
644649 < DropdownMenu
@@ -650,7 +655,7 @@ export default function TemplateDetails({ isWorkspaceContext = false }: Template
650655 variant = 'primary'
651656 onClick = { ( ) => setShowWorkspaceSelectorForUse ( true ) }
652657 disabled = { isUsing || isLoadingWorkspaces }
653- className = 'h-[32px] rounded-[6px]'
658+ className = 'h-[32px] rounded-[6px] px-[16px] text-[#FFFFFF] text-[14px] '
654659 >
655660 { isUsing ? 'Creating...' : isLoadingWorkspaces ? 'Loading...' : 'Use' }
656661 < ChevronDown className = 'ml-2 h-4 w-4' />
@@ -685,12 +690,9 @@ export default function TemplateDetails({ isWorkspaceContext = false }: Template
685690 </ div >
686691 </ div >
687692
688- { /* Template name */ }
689- < h1 className = 'mt-[24px] font-medium text-[18px]' > { template . name } </ h1 >
690-
691693 { /* Template tagline */ }
692694 { template . details ?. tagline && (
693- < p className = 'mt-[8px ] font-medium text-[#888888] text-[14px]' >
695+ < p className = 'mt-[4px ] font-medium text-[#888888] text-[14px]' >
694696 { template . details . tagline }
695697 </ p >
696698 ) }
0 commit comments