From 8d75c52a720934df892c4773e4521f9bdda5be0f Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Fri, 23 Aug 2024 13:41:06 -0400 Subject: [PATCH] Stop event propagation --- .../src/Components/Charts/BarChart/index.jsx | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Client/src/Components/Charts/BarChart/index.jsx b/Client/src/Components/Charts/BarChart/index.jsx index 8ab54e8a8..e685232d0 100644 --- a/Client/src/Components/Charts/BarChart/index.jsx +++ b/Client/src/Components/Charts/BarChart/index.jsx @@ -7,7 +7,17 @@ const BarChart = ({ checks = [] }) => { const theme = useTheme(); return ( - + event.stopPropagation()} + sx={{ + cursor: "default", + }} + > {checks.map((check) => ( { { name: "offset", options: { - offset: [0, -12], + offset: [0, -10], }, }, ], @@ -66,13 +76,13 @@ const BarChart = ({ checks = [] }) => { > { : theme.label.down.dotColor } sx={{ - borderRadius: theme.gap.xs, + borderRadius: "3px", }} />