material ui v4 migration style fixes for add token list

This commit is contained in:
Mikhail Mikheev 2019-05-27 19:39:19 +04:00
parent 974bc0d804
commit eb092852af
2 changed files with 4 additions and 1 deletions

View File

@ -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} />

View File

@ -47,6 +47,9 @@ export const styles = () => ({
letterSpacing: '-0.5px',
},
},
tokenIcon: {
marginRight: md,
},
progressContainer: {
width: '100%',
height: '100%',