Sfoglia il codice sorgente

tooltip auto width

tags/Baseline_30082024_FRONTEND_UAT
Mac\David 1 anno fa
parent
commit
d1470d70a3
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      src/components/ProgressByClient/ProgressByClient.tsx
  2. +1
    -1
      src/components/ProgressByTeam/ProgressByTeam.tsx

+ 1
- 1
src/components/ProgressByClient/ProgressByClient.tsx Vedi File

@@ -409,7 +409,7 @@ const ProgressByClient: React.FC<Props> = () => {
const spentManhours = chartProjectSpentHour[dataPointIndex];
const value = series[seriesIndex][dataPointIndex];
const tooltipContent = `
<div style="width: 250px;">
<div style="width: auto;">
<span style="font-weight: bold;">${projectCode} - ${projectName}</span>
<br>
Budget Manhours: ${budgetManhours} hours


+ 1
- 1
src/components/ProgressByTeam/ProgressByTeam.tsx Vedi File

@@ -492,7 +492,7 @@ const ProgressByTeam: React.FC = () => {
const spentManhours = currentPageProjectSpentManhourList[dataPointIndex];
const value = series[seriesIndex][dataPointIndex];
const tooltipContent = `
<div style="width: 100%;">
<div style="width: auto;">
<span style="font-weight: bold;">${projectCode} - ${projectName}</span>
<br>
Budget Manhours: ${budgetManhours} hours


Caricamento…
Annulla
Salva