Skip to content

Commit d454683

Browse files
authored
Merge pull request #4085 from Northeastern-Electric-Racing/#3996-NigelPurvis-PiechartPopup
#3996 added z-index to Tooltip popup
2 parents a5ea78f + 05e55dd commit d454683

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/frontend/src/pages/FinancePage/FinanceComponents

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ const FinancePieChart: React.FC<FinancePieChartProps> = ({
231231
/>
232232
</Pie>
233233
<Tooltip
234+
wrapperStyle={{ zIndex: 10 }} // added z index to make the div pop up in front of the legend items
234235
contentStyle={{
235236
backgroundColor: '#333',
236237
color: '#fff',

0 commit comments

Comments
 (0)