Skip to content

Commit b3425ee

Browse files
authored
Merge pull request #416 from CodebilityDev/mariacristinatask
Fixed UI Issues
2 parents 3e79baf + 0f17b17 commit b3425ee

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks/TaskAddModal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

‎apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks/TaskEditModal.tsx‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff 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"}

‎apps/codebility/app/home/kanban/[projectId]/[id]/_components/tasks/TaskViewModal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)