1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-09 01:17:06 +02:00

tweaks markup

This commit is contained in:
vsandvold 2017-02-14 12:46:09 +01:00
parent 7a8bf2235a
commit 410f40cc03

View File

@ -17,12 +17,13 @@ export const AppsLinkList = ({ apps }) => (
<List> <List>
{apps.length > 0 && apps.map(({ appName, description = '-', icon = 'apps' }) => ( {apps.length > 0 && apps.map(({ appName, description = '-', icon = 'apps' }) => (
<ListItem twoLine key={appName}> <ListItem twoLine key={appName}>
<ListItemContent avatar={icon}> <span className="mdl-list__item-primary-content">
<Icon name={icon} className="mdl-list__item-avatar"/>
<Link to={`/applications/${appName}`} className={[styles.listLink, styles.truncate].join(' ')}> <Link to={`/applications/${appName}`} className={[styles.listLink, styles.truncate].join(' ')}>
{appName} {appName}
<span className={['mdl-list__item-sub-title', styles.truncate].join(' ')}>{description}</span> <span className={['mdl-list__item-sub-title', styles.truncate].join(' ')}>{description}</span>
</Link> </Link>
</ListItemContent> </span>
</ListItem> </ListItem>
))} ))}
</List> </List>