style(front-end): modify scrollbar style for panels to match design

main
Josue 4 years ago
parent 6d1f4f8025
commit 159c02e0ab
  1. 10
      striker-ui/components/Panels/Panel.tsx

@ -42,6 +42,16 @@ const useStyles = makeStyles(() => ({
bottom: '-.3em',
right: '-.3em',
},
'@global': {
'*::-webkit-scrollbar': {
width: '.6em',
},
'*::-webkit-scrollbar-thumb': {
backgroundColor: TEXT,
outline: '1px solid transparent',
borderRadius: BORDER_RADIUS,
},
},
}));
const Panel = ({ children }: Props): JSX.Element => {

Loading…
Cancel
Save