Skip to content

Commit 005005b

Browse files
committed
#3996 added z-index to Tooltip popup
1 parent 3e75d3e commit 005005b

File tree

1 file changed

+2
-0
lines changed
  • src/frontend/src/pages/FinancePage/FinanceComponents

1 file changed

+2
-0
lines changed

src/frontend/src/pages/FinancePage/FinanceComponents/PieChart.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import ArrowDropUp from '@mui/icons-material/ArrowDropUp';
55
import PlayArrowIcon from '@mui/icons-material/PlayArrow';
66
import { Box } from '@mui/system';
77
import { Button, List, ListItem, Typography } from '@mui/material';
8+
import zIndex from '@mui/material/styles/zIndex';
89

910
interface FinancePieChartProps {
1011
totalBalance: number;
@@ -231,6 +232,7 @@ const FinancePieChart: React.FC<FinancePieChartProps> = ({
231232
/>
232233
</Pie>
233234
<Tooltip
235+
wrapperStyle={{ zIndex: 10 }}
234236
contentStyle={{
235237
backgroundColor: '#333',
236238
color: '#fff',

0 commit comments

Comments
 (0)