scrollable safelist in sidebar
This commit is contained in:
parent
6d1c44bc39
commit
6e80d09d17
|
@ -30,6 +30,12 @@ const useStyles = makeStyles({
|
||||||
icon: {
|
icon: {
|
||||||
marginRight: sm,
|
marginRight: sm,
|
||||||
},
|
},
|
||||||
|
list: {
|
||||||
|
overflow: 'hidden',
|
||||||
|
overflowY: 'scroll',
|
||||||
|
padding: 0,
|
||||||
|
height: '100%',
|
||||||
|
},
|
||||||
listItemRoot: {
|
listItemRoot: {
|
||||||
paddingTop: 0,
|
paddingTop: 0,
|
||||||
paddingBottom: 0,
|
paddingBottom: 0,
|
||||||
|
@ -60,7 +66,7 @@ const SafeList = ({
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MuiList>
|
<MuiList className={classes.list}>
|
||||||
{safes.map((safe) => (
|
{safes.map((safe) => (
|
||||||
<React.Fragment key={safe.address}>
|
<React.Fragment key={safe.address}>
|
||||||
<Link to={`${SAFELIST_ADDRESS}/${safe.address}`} onClick={onSafeClick}>
|
<Link to={`${SAFELIST_ADDRESS}/${safe.address}`} onClick={onSafeClick}>
|
||||||
|
|
Loading…
Reference in New Issue