Move CSS overflow property to quadrant block element

Signed-off-by: Vincent Lam <vincent.lam@ingka.com>
This commit is contained in:
Vincent Lam
2022-08-10 21:17:02 +02:00
parent 6be12eed87
commit a641f79dcb
2 changed files with 6 additions and 6 deletions
@@ -32,15 +32,11 @@ export type Props = {
};
const useStyles = makeStyles<Theme>(theme => ({
quadrantLegend: {
overflowY: 'auto',
scrollbarWidth: 'thin',
},
quadrant: {
height: '100%',
width: '100%',
overflowY: 'auto',
scrollbarWidth: 'thin',
pointerEvents: 'none',
},
quadrantHeading: {
pointerEvents: 'none',
@@ -229,7 +225,6 @@ const RadarLegend = (props: Props): JSX.Element => {
y={quadrant.legendY}
width={quadrant.legendWidth}
height={quadrant.legendHeight}
className={classes.quadrantLegend}
data-testid="radar-quadrant"
>
<div className={classes.quadrant}>