From 4c30d706717c515585280da0d113dfbdc90935cf Mon Sep 17 00:00:00 2001 From: Ramesh Kumar Chandra Date: Mon, 11 Mar 2024 22:03:08 +0530 Subject: [PATCH] dashboard responsive --- web/components/core/activity.tsx | 24 +++++++++---------- .../widgets/recent-collaborators/root.tsx | 2 +- .../dashboard/widgets/recent-projects.tsx | 6 ++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/web/components/core/activity.tsx b/web/components/core/activity.tsx index 020e88ccc..eb705fa98 100644 --- a/web/components/core/activity.tsx +++ b/web/components/core/activity.tsx @@ -35,15 +35,16 @@ export const IssueLink = ({ activity }: { activity: IIssueActivity }) => { {activity?.issue_detail ? ( - {`${activity.project_detail.identifier}-${activity.issue_detail.sequence_id}`}{" "} - {activity.issue_detail?.name} +
+
{`${activity.project_detail.identifier}-${activity.issue_detail.sequence_id}`}
{" "} +
{activity.issue_detail?.name}
+
) : ( @@ -60,9 +61,8 @@ const UserLink = ({ activity }: { activity: IIssueActivity }) => { return ( ( <> - set the state to {activity.new_value} + {/* set the state to {activity.new_value} */} {showIssue && ( <> {" "} @@ -678,12 +678,12 @@ export const ActivityMessage = ({ activity, showIssue = false }: ActivityMessage const { workspaceSlug } = router.query; return ( - <> +
{activityDetails[activity.field as keyof typeof activityDetails]?.message( activity, showIssue, workspaceSlug ? workspaceSlug.toString() : activity.workspace_detail?.slug ?? "" )} - +
); }; diff --git a/web/components/dashboard/widgets/recent-collaborators/root.tsx b/web/components/dashboard/widgets/recent-collaborators/root.tsx index d65b15db7..3278c4351 100644 --- a/web/components/dashboard/widgets/recent-collaborators/root.tsx +++ b/web/components/dashboard/widgets/recent-collaborators/root.tsx @@ -22,7 +22,7 @@ export const RecentCollaboratorsWidget: React.FC = (props) => { Top eight active members in your project by last activity

-
+
= observer((props) => {
-
-
+
+
{projectDetails.name} -
+
{projectDetails.members?.map((member) => (