Signed-off-by Lmejbar : Added SearchBar and ScrollBar on Techradar

Signed-off-by: lmejbar <42239917+lmejbar@users.noreply.github.com>
This commit is contained in:
lmejbar
2021-09-07 09:32:44 +02:00
committed by Fredrik Adelöw
parent d6ebcba5b4
commit 6f82fef197
@@ -32,21 +32,15 @@ export type Props = {
};
const useStyles = makeStyles<Theme>(theme => ({
foreignObject: {
overflow: 'scroll',
scrollbarWidth: 0 as any, // hide in FF
'&::-webkit-scrollbar': {
display: 'none', // hide in Chrome
},
quadrantLegend: {
overflowY: 'scroll',
scrollbarWidth: 'thin',
},
quadrant: {
height: '100%',
width: '100%',
overflow: 'scroll',
scrollbarWidth: 0 as any, // hide in FF
'&::-webkit-scrollbar': {
display: 'none', // hide in Chrome
},
scrollbarWidth: 'thin',
// pointerEvents: 'none',
},
quadrantHeading: {
@@ -232,7 +226,7 @@ const RadarLegend = (props: Props): JSX.Element => {
y={quadrant.legendY}
width={quadrant.legendWidth}
height={quadrant.legendHeight}
className={classes.foreignObject}
className={classes.quadrantLegend}
data-testid="radar-quadrant"
>
<div className={classes.quadrant}>