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 @@ -664,14 +664,34 @@ const TaskEditModal = () => {
664664 type = "button"
665665 variant = "outline"
666666 onClick = { onClose }
667- 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"
667+ // 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"
668+ 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+ } }
668678 disabled = { loading }
669679 >
670680 Cancel
671681 </ Button >
672682 < Button
673683 type = "submit"
674- 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"
684+ // 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"
685+ 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+ } }
675695 disabled = { loading }
676696 >
677697 { loading ? "Saving..." : "Save Changes" }
Original file line number Diff line number Diff line change @@ -944,13 +944,14 @@ const TaskViewModal = ({
944944 </ div >
945945 </ div >
946946
947- < DialogFooter className = "flex gap-2 sm:justify-end" >
947+ < DialogFooter className = "flex justify-end mt-4" >
948+ { /*Previous style: flex gap-6 sm:justify-end */ }
948949 { /* VIEWING MODE: Show Close when just viewing (no changes) */ }
949950 { ! hasUnsavedChanges && (
950951 < Button
951952 onClick = { onClose }
952953 style = { {
953- backgroundColor : "#3B82F6 " ,
954+ backgroundColor : "#2563EB " ,
954955 color : "white" ,
955956 padding : "6px 16px" ,
956957 fontSize : "14px" ,
@@ -970,7 +971,7 @@ const TaskViewModal = ({
970971 < Button
971972 onClick = { handleClose }
972973 style = { {
973- backgroundColor : "#3B82F6 " ,
974+ backgroundColor : "#2563EB " ,
974975 color : "white" ,
975976 padding : "6px 16px" ,
976977 fontSize : "14px" ,
You can’t perform that action at this time.
0 commit comments