@@ -674,10 +674,13 @@ const TaskViewModal = ({
674674
675675 return (
676676 < Dialog open = { isModalOpen } onOpenChange = { onClose } >
677- < DialogContent className = "h-auto max-h-[90vh] sm:max-h-[900px] w-[95vw] sm:w-[90vw] max-w-3xl overflow-y-auto bg-white p-3 sm:p-4 dark:bg-gray-900" >
677+ < DialogContent className = "border !border-yellow-200 h-auto max-h-[90vh] sm:max-h-[900px] w-[95vw] sm:w-[90vw] max-w-3xl overflow-y-auto bg-white p-3 sm:p-4 dark:bg-gray-900" >
678678 < div className = "flex flex-col gap-6" >
679- < div className = "flex items-center justify-between" >
680- < DialogHeader >
679+ < div className = "h-4 md:h-0" > </ div >
680+
681+ { /* Title and Menu Row */ }
682+ < div className = "flex items-start justify-between -mt-4" >
683+ < DialogHeader className = "flex-1" >
681684 < DialogTitle className = "text-xl font-bold text-gray-900 dark:text-white" >
682685 { task ?. title } { " " }
683686 { task ?. ticket_code && (
@@ -690,7 +693,13 @@ const TaskViewModal = ({
690693 { canModifyTask && (
691694 < DropdownMenu >
692695 < DropdownMenuTrigger asChild >
693- < Ellipsis className = "h-5 w-5 cursor-pointer" />
696+ < Button
697+ variant = "ghost"
698+ size = "sm"
699+ className = "h-8 w-8 p-0 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800"
700+ >
701+ < Ellipsis className = "h-4 w-4" />
702+ </ Button >
694703 </ DropdownMenuTrigger >
695704 < DropdownMenuContent align = "end" className = "w-32" >
696705 < DropdownMenuItem
@@ -785,7 +794,7 @@ const TaskViewModal = ({
785794
786795 < div className = "space-y-2" >
787796 < Label className = "text-sm font-medium" > PR Link</ Label >
788- < div className = " flex items-center space-x-2" >
797+ < div className = { ` ${ hasPrLinkChanges ? ' flex items-center space-x-2' : '' } ` } >
789798 < Input
790799 value = { prLink }
791800 onChange = { ( e ) => setPrLink ( e . target . value ) }
@@ -794,14 +803,14 @@ const TaskViewModal = ({
794803 setPrLink ( task . pr_link ) ;
795804 }
796805 } }
797- className = "text-grey-100 bg-light-900 dark:bg-dark-200 dark:text-light-900 border border-gray-300 focus:border-blue-500"
806+ className = "flex-1 text-grey-100 bg-light-900 dark:bg-dark-200 dark:text-light-900 border border-gray-300 focus:border-blue-500"
798807 placeholder = "Enter PR Link..."
799808 />
800809 { hasPrLinkChanges && (
801810 < Button
802811 variant = "outline"
803812 onClick = { handleUpdate }
804- className = "bg-blue-600 text-white hover:bg-blue-700"
813+ className = "flex-1 bg-blue-600 text-white hover:bg-blue-700"
805814 disabled = { updateLoading }
806815 >
807816 { updateLoading && (
0 commit comments