Skip to content

Commit

Permalink
fix Supernode Statistics chart tooltip bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ngvtuan committed Feb 19, 2024
1 parent 973ed23 commit 4182e6e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/pages/Explorer/Explorer.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@ export const ExplorerWrapper = styled.div`
.copy-icon {
margin-left: 0;
}
.supernode-statistics {
&,
& > .MuiPaper-root {
overflow: unset;
}
& > .MuiPaper-root {
h4 {
border-radius: 6px 6px 0 0;
}
}
}
`;

export const Gird = styled.div`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const SupernodeStatistics: React.FC<SupernodeStatisticsProps> = ({ link = '' })
}

return (
<ExplorerMapStyles.Container>
<ExplorerMapStyles.Container className="supernode-statistics">
<DoughnutChart
title={parse(translate('pages.explorer.supernodeStatistics'))}
innerTitle={parse(translate('pages.explorer.total'))}
Expand Down

0 comments on commit 4182e6e

Please sign in to comment.