Skip to content

Commit

Permalink
fix: Chart content allows cursor selection
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Feb 20, 2024
1 parent 7f70db3 commit 16c0879
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NodeChart/PieChartCenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const StyledTextContainer = styled('text')({
fontFamily: "'Nunito Sans', 'Rubik', sans-serif",
textAnchor: 'middle',
dominantBaseline: 'central',
userSelect: "none",
});

const StyledCenterTitle = styled('tspan')({
Expand Down
1 change: 1 addition & 0 deletions src/components/NodeChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ const StyledPieChartLabel = styled(Typography)({
marginBottom: "12px",
textAlign: "center",
alignSelf: "center",
userSelect: "none",
});

const StyledChartContainer = styled(Box)({
Expand Down
1 change: 1 addition & 0 deletions src/components/NodeTotalChart/CustomTick.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const StyledLabel = styled('tspan')({
color: "#474747",
textTransform: "capitalize",
overflow: "hidden",
userSelect: "none",
});

const CustomTick = (props) => {
Expand Down

0 comments on commit 16c0879

Please sign in to comment.