Skip to content

Commit

Permalink
Merge pull request #437 from GNS-Science/feature/422_thicker_legend
Browse files Browse the repository at this point in the history
make legend lines thicker;
  • Loading branch information
benjamineac authored Mar 3, 2024
2 parents bccd2b7 + 2ebc724 commit 5d2240a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/hazardCharts/HazardChartsPlotsView.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { graphql } from "react-relay";
import { useLazyLoadQuery } from "react-relay";
import { Box, Alert } from "@mui/material";
import { Alert, Box, GlobalStyles } from "@mui/material";

import { HazardChartsPlotsViewQuery } from "./__generated__/HazardChartsPlotsViewQuery.graphql";
import { hazardPageOptions } from "./constants/hazardPageOptions";
Expand Down Expand Up @@ -49,6 +49,7 @@ const HazardChartsPlotsView: React.FC<HazardChartsPlotsViewProps> = ({
)}
</Box>
<div ref={printTargetRef}>
<GlobalStyles styles={{ ".visx-legend-shape svg g line": { strokeWidth: 4 } }} />
<HazardCharts data={data} state={state} dispatch={dispatch} />
</div>
</Box>
Expand Down

0 comments on commit 5d2240a

Please sign in to comment.