Merge pull request #13101 from Apaachai/fix/tech-radar-quadrant-overflow

fix: (plugin-tech-radar): Move CSS overflow property to quadrant block element
This commit is contained in:
Fredrik Adelöw
2022-08-11 09:41:36 +02:00
committed by GitHub
2 changed files with 6 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Move CSS overflow property to quadrant block element (i.e. to a div element) in RadarLegend component.
@@ -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}>