From d1470d70a355da81329914f17d787cffe4c6370b Mon Sep 17 00:00:00 2001 From: "Mac\\David" Date: Fri, 19 Jul 2024 12:00:33 +0800 Subject: [PATCH] tooltip auto width --- src/components/ProgressByClient/ProgressByClient.tsx | 2 +- src/components/ProgressByTeam/ProgressByTeam.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ProgressByClient/ProgressByClient.tsx b/src/components/ProgressByClient/ProgressByClient.tsx index f22d7d3..17324ee 100644 --- a/src/components/ProgressByClient/ProgressByClient.tsx +++ b/src/components/ProgressByClient/ProgressByClient.tsx @@ -409,7 +409,7 @@ const ProgressByClient: React.FC = () => { const spentManhours = chartProjectSpentHour[dataPointIndex]; const value = series[seriesIndex][dataPointIndex]; const tooltipContent = ` -
+
${projectCode} - ${projectName}
Budget Manhours: ${budgetManhours} hours diff --git a/src/components/ProgressByTeam/ProgressByTeam.tsx b/src/components/ProgressByTeam/ProgressByTeam.tsx index f855206..f1bf78c 100644 --- a/src/components/ProgressByTeam/ProgressByTeam.tsx +++ b/src/components/ProgressByTeam/ProgressByTeam.tsx @@ -492,7 +492,7 @@ const ProgressByTeam: React.FC = () => { const spentManhours = currentPageProjectSpentManhourList[dataPointIndex]; const value = series[seriesIndex][dataPointIndex]; const tooltipContent = ` -
+
${projectCode} - ${projectName}
Budget Manhours: ${budgetManhours} hours