fix: bottom steper does not show subtitle

This commit is contained in:
Mauricio Navarro Miranda 2020-09-11 01:07:44 -05:00 committed by Josh Harvey
parent 1f5b84340e
commit a7c1e3cf07

View file

@ -34,6 +34,9 @@ const useStyles = makeStyles(() => ({
smallWrapper: { smallWrapper: {
height: 84 height: 84
}, },
title: {
margin: [[0, spacer * 4, 0, 0]],
},
subtitle: { subtitle: {
marginTop: spacer, marginTop: spacer,
marginBottom: 6, marginBottom: 6,
@ -79,11 +82,11 @@ function Footer({ next, current, steps: collection, path, tag, p }) {
item item
xs={5} xs={5}
container container
direction="column" direction={open ? "column" : "row"}
justify="flex-start" justify="flex-start"
alignItems="flex-start"> alignItems="baseline">
<H2 noMargin>Setup Lamassu Admin</H2> <H2 className={classes.title}>Setup Lamassu Admin</H2>
{open && <Info2 className={classes.subtitle}>{tag}</Info2>} <Info2 className={classes.subtitle}>{tag}</Info2>
{open && <P>{p}</P>} {open && <P>{p}</P>}
</Grid> </Grid>
<Grid <Grid