We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005005b commit 05e55ddCopy full SHA for 05e55dd
1 file changed
src/frontend/src/pages/FinancePage/FinanceComponents/PieChart.tsx
@@ -5,7 +5,6 @@ import ArrowDropUp from '@mui/icons-material/ArrowDropUp';
5
import PlayArrowIcon from '@mui/icons-material/PlayArrow';
6
import { Box } from '@mui/system';
7
import { Button, List, ListItem, Typography } from '@mui/material';
8
-import zIndex from '@mui/material/styles/zIndex';
9
10
interface FinancePieChartProps {
11
totalBalance: number;
@@ -232,7 +231,7 @@ const FinancePieChart: React.FC<FinancePieChartProps> = ({
232
231
/>
233
</Pie>
234
<Tooltip
235
- wrapperStyle={{ zIndex: 10 }}
+ wrapperStyle={{ zIndex: 10 }} // added z index to make the div pop up in front of the legend items
236
contentStyle={{
237
backgroundColor: '#333',
238
color: '#fff',
0 commit comments