File tree Expand file tree Collapse file tree
apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ const TaskAddModal = () => {
419419
420420 return (
421421 < Dialog open = { isModalOpen } onOpenChange = { handleClose } >
422- < DialogContent className = "phone:h-full phone:w-full tablet:h-full tablet:w-full laptop:h-[90vh] laptop:max-h-[800px] h-[95vh] max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
422+ < DialogContent className = "phone:h-full phone:w-full tablet:h-full tablet:w-full h-auto max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
423423 < form
424424 onSubmit = { ( e ) => {
425425 e . preventDefault ( ) ;
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ const TaskEditModal = () => {
459459
460460 return (
461461 < Dialog open = { isModalOpen } onOpenChange = { onClose } >
462- < DialogContent className = "phone:h-full phone:w-full tablet:h-full tablet:w-full laptop:h-[90vh] laptop:max-h-[800px] h-[95vh] max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
462+ < DialogContent className = "phone:h-full phone:w-full tablet:h-full tablet:w-full h-auto max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
463463 < form onSubmit = { handleSubmit } className = "flex flex-col gap-6" >
464464 < DialogHeader >
465465 < DialogTitle className = "text-xl font-bold text-gray-900 dark:text-white" >
@@ -666,15 +666,15 @@ const TaskEditModal = () => {
666666 onClick = { onClose }
667667 // className="text-md bg-customBlue-100 hover:bg-customBlue-200 focus-visible:ring-customBlue-100 flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md px-6 py-1 text-white ring-offset-background transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 sm:w-auto lg:text-lg"
668668 style = { {
669- backgroundColor : "#2563EB" ,
670- color : "white" ,
671- padding : "6px 16px" ,
672- fontSize : "14px" ,
673- borderRadius : "4px" ,
674- border : "none" ,
675- minWidth : "auto" ,
676- width : "auto" ,
677- } }
669+ backgroundColor : "#2563EB" ,
670+ color : "white" ,
671+ padding : "6px 16px" ,
672+ fontSize : "14px" ,
673+ borderRadius : "4px" ,
674+ border : "none" ,
675+ minWidth : "auto" ,
676+ width : "auto" ,
677+ } }
678678 disabled = { loading }
679679 >
680680 Cancel
@@ -683,15 +683,15 @@ const TaskEditModal = () => {
683683 type = "submit"
684684 // className="text-md bg-customBlue-100 hover:bg-customBlue-200 focus-visible:ring-customBlue-100 flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md px-6 py-1 text-white ring-offset-background transition-colors duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 sm:w-auto lg:text-lg"
685685 style = { {
686- backgroundColor : "#2563EB" ,
687- color : "white" ,
688- padding : "6px 16px" ,
689- fontSize : "14px" ,
690- borderRadius : "4px" ,
691- border : "none" ,
692- minWidth : "auto" ,
693- width : "auto" ,
694- } }
686+ backgroundColor : "#2563EB" ,
687+ color : "white" ,
688+ padding : "6px 16px" ,
689+ fontSize : "14px" ,
690+ borderRadius : "4px" ,
691+ border : "none" ,
692+ minWidth : "auto" ,
693+ width : "auto" ,
694+ } }
695695 disabled = { loading }
696696 >
697697 { loading ? "Saving..." : "Save Changes" }
Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ const TaskViewModal = ({
684684
685685 return (
686686 < Dialog open = { isModalOpen } onOpenChange = { onClose } >
687- < DialogContent className = "h-[95vh] max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
687+ < DialogContent className = "h-auto max-h-[900px] w-[95vw] max-w-3xl overflow-y-auto bg-white p-4 dark:bg-gray-900" >
688688 < div className = "flex flex-col gap-6" >
689689 < div className = "flex items-center justify-between" >
690690 < DialogHeader >
You can’t perform that action at this time.
0 commit comments