material ui v4 migration style fixes for add token list
This commit is contained in:
parent
974bc0d804
commit
eb092852af
|
@ -158,7 +158,7 @@ class Tokens extends React.Component<Props, State> {
|
|||
|
||||
return (
|
||||
<ListItem key={token.address} className={classes.token}>
|
||||
<ListItemIcon>
|
||||
<ListItemIcon className={classes.tokenIcon}>
|
||||
<Img src={token.logoUri} height={28} alt={token.name} onError={setImageToPlaceholder} />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary={token.symbol} secondary={token.name} />
|
||||
|
|
|
@ -47,6 +47,9 @@ export const styles = () => ({
|
|||
letterSpacing: '-0.5px',
|
||||
},
|
||||
},
|
||||
tokenIcon: {
|
||||
marginRight: md,
|
||||
},
|
||||
progressContainer: {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
|
|
Loading…
Reference in New Issue