From 891ad1e9c4c753688360329feb9b96b1aeea79f0 Mon Sep 17 00:00:00 2001 From: Jane Moroz Date: Wed, 18 Sep 2024 12:24:19 +0300 Subject: [PATCH 1/4] fix: fix padding issues + update widget title font size --- .../components/voyage-dashboard/DashboardWidget.tsx | 10 +++++----- .../voyage-dashboard/FeaturesStateContent.tsx | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx b/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx index b9fc70f8c..c5e8b01a3 100644 --- a/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx +++ b/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx @@ -50,18 +50,18 @@ function DashboardWidget({ >

{headerTitle} - {isWidgetClickable ? ( -

- + {isWidgetClickable && ( +
+
- ) : null} + )}

diff --git a/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx b/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx index d6cb4ec0f..e00507248 100644 --- a/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx +++ b/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx @@ -5,14 +5,14 @@ interface FeaturesStateContentProps { } function FeaturesStateContent({ contentObject }: FeaturesStateContentProps) { return ( -
-
+
+
{contentObject?.map((item) => (
-

+

{item}

From 9d040b9d933952190ad5aee3ac238f2d6e498d19 Mon Sep 17 00:00:00 2001 From: Jane Moroz Date: Wed, 18 Sep 2024 12:27:28 +0300 Subject: [PATCH 2/4] fix: lint --- .../dashboard/components/voyage-dashboard/DashboardWidget.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx b/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx index c5e8b01a3..ecdbee522 100644 --- a/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx +++ b/src/app/(main)/dashboard/components/voyage-dashboard/DashboardWidget.tsx @@ -58,7 +58,7 @@ function DashboardWidget({ > {headerTitle} {isWidgetClickable && ( -
+
)} From 914cc22447e442a2e1c880bb59a1acb537b5911f Mon Sep 17 00:00:00 2001 From: JaneMoroz Date: Fri, 20 Sep 2024 23:24:37 +0300 Subject: [PATCH 3/4] fix: fix width --- .../components/voyage-dashboard/FeaturesStateContent.tsx | 4 +--- .../[teamId]/sprints/components/forms/MeetingForm.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx b/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx index e00507248..af8d2d749 100644 --- a/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx +++ b/src/app/(main)/dashboard/components/voyage-dashboard/FeaturesStateContent.tsx @@ -12,9 +12,7 @@ function FeaturesStateContent({ contentObject }: FeaturesStateContentProps) { key={item} className="flex items-center rounded-lg bg-base-200 px-3 py-2" > -

- {item} -

+

{item}

))}
diff --git a/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx b/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx index b6329a69c..4b7e300c9 100644 --- a/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx +++ b/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx @@ -120,10 +120,10 @@ export default function MeetingForm() { data.meetingLink === "" ? { description: data.description, title: data.title } : { - description: data.description, - title: data.title, - meetingLink: data.meetingLink, - }; + description: data.description, + title: data.title, + meetingLink: data.meetingLink, + }; if (editMode) { const [res, error] = await editMeetingAction({ From 4655623b09ad680e07fe907b9964b57e81f9743b Mon Sep 17 00:00:00 2001 From: JaneMoroz Date: Fri, 20 Sep 2024 23:27:42 +0300 Subject: [PATCH 4/4] fix: lint --- .../[teamId]/sprints/components/forms/MeetingForm.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx b/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx index 4b7e300c9..b6329a69c 100644 --- a/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx +++ b/src/app/(main)/my-voyage/[teamId]/sprints/components/forms/MeetingForm.tsx @@ -120,10 +120,10 @@ export default function MeetingForm() { data.meetingLink === "" ? { description: data.description, title: data.title } : { - description: data.description, - title: data.title, - meetingLink: data.meetingLink, - }; + description: data.description, + title: data.title, + meetingLink: data.meetingLink, + }; if (editMode) { const [res, error] = await editMeetingAction({