Browse Source

fix(workout-session-heatmap): adjust tooltip position by changing left offset to improve visibility and user experience

Mathias 1 month ago
parent
commit
04359717be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/features/workout-session/ui/workout-session-heatmap.tsx

+ 1 - 1
src/features/workout-session/ui/workout-session-heatmap.tsx

@@ -183,7 +183,7 @@ export const WorkoutSessionHeatmap: React.FC<Props> = ({
     <div
       style={{
         position: "fixed",
-        left: hovered.mouseX + 12,
+        left: hovered.mouseX - 100,
         top: hovered.mouseY - 8,
         pointerEvents: "none",
         zIndex: 9999,