fix: use noMargin instead of a new class

This commit is contained in:
José Oliveira 2021-02-16 10:52:08 +00:00 committed by Josh Harvey
parent debb9ecafd
commit b1e6ae5124
2 changed files with 6 additions and 10 deletions

View file

@ -72,9 +72,13 @@ const Machines = () => {
<div className={classes.breadcrumbsContainer}>
<Breadcrumbs separator={<NavigateNextIcon fontSize="small" />}>
<Link to="/dashboard" className={classes.breadcrumbLink}>
<Label3 className={classes.breadcrumbElem}>Dashboard</Label3>
<Label3 noMargin className={classes.subtitle}>
Dashboard
</Label3>
</Link>
<TL2 className={classes.breadcrumbElem}>{selectedMachine}</TL2>
<TL2 noMargin className={classes.subtitle}>
{selectedMachine}
</TL2>
</Breadcrumbs>
<Overview data={machineInfo} onActionSuccess={refetch} />
</div>

View file

@ -76,14 +76,6 @@ const styles = {
breadcrumbLink: {
textDecoration: 'none'
},
breadcrumbElem: {
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
flexDirection: 'row',
color: comet,
margin: 0
},
detailsMargin: {
marginTop: 24
},