Skip to content

Commit

Permalink
Update ReportHexMap.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Arbyhisenaj committed Jan 6, 2025
1 parent f2fa289 commit 88d873b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nextjs/src/app/reports/[id]/(components)/ReportHexMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,14 @@ export default function ReportDashboardHexMap() {
r={hex.r * -1}
s={hex.q - hex.r}
style={{ fill: fillColor }}
className={`transition-colors duration-200 hover:brightness-125
${selectedBoundary === id ? 'stroke-2 stroke-pink-700' : ''}
className={`transition-colors duration-1000 hover:brightness-125
${selectedBoundary === id ? 'stroke-1 stroke-pink-700 animate-pulse' : ''}
${count > 0 ? 'opacity-100' : 'opacity-50'}
`}
onMouseEnter={(e) => handleMouseEnter(e, hex)}
onMouseLeave={() => setTooltip(null)}
onClick={() => setSelectedBoundary?.(id)}
/>
></Hexagon>
)
})}
</Layout>
Expand Down

0 comments on commit 88d873b

Please sign in to comment.