Use default height for small buttons

This commit is contained in:
Germán Martínez 2019-09-12 17:21:22 +02:00
parent 1af8ffad4c
commit 1429f837c9
5 changed files with 6 additions and 10 deletions

View File

@ -109,7 +109,7 @@ const Receive = ({
</Col>
<Hairline />
<Row align="center" className={classes.buttonRow}>
<Button color="primary" minHeight={35} minWidth={140} onClick={onClose} variant="contained">
<Button color="primary" minWidth={140} onClick={onClose} variant="contained">
Done
</Button>
</Row>

View File

@ -127,7 +127,7 @@ const ReviewCustomTx = ({
</Row>
<Row margin="md" align="center">
<Col className={classes.outerData}>
<Row size="md" noMargin className={classes.data}>
<Row size="md" className={classes.data}>
{tx.data}
</Row>
</Col>
@ -135,7 +135,7 @@ const ReviewCustomTx = ({
</Block>
<Hairline />
<Row align="center" className={classes.buttonRow}>
<Button minWidth={140} minHeight={35} onClick={() => setActiveScreen('sendCustomTx')}>
<Button minWidth={140} onClick={() => setActiveScreen('sendCustomTx')}>
Back
</Button>
<Button
@ -143,7 +143,6 @@ const ReviewCustomTx = ({
onClick={submitTx}
variant="contained"
minWidth={140}
minHeight={35}
color="primary"
data-testid="submit-tx-btn"
className={classes.submitButton}

View File

@ -138,7 +138,7 @@ const ReviewTx = ({
</Block>
<Hairline style={{ position: 'absolute', bottom: 85 }} />
<Row align="center" className={classes.buttonRow}>
<Button minWidth={140} minHeight={35} onClick={() => setActiveScreen('sendFunds')}>
<Button minWidth={140} onClick={() => setActiveScreen('sendFunds')}>
Back
</Button>
<Button
@ -146,7 +146,6 @@ const ReviewTx = ({
onClick={submitTx}
variant="contained"
minWidth={140}
minHeight={35}
color="primary"
data-testid="submit-tx-btn"
className={classes.submitButton}

View File

@ -149,13 +149,12 @@ const SendCustomTx = ({
</Block>
<Hairline />
<Row align="center" className={classes.buttonRow}>
<Button minWidth={140} minHeight={35} onClick={onClose}>
<Button minWidth={140} onClick={onClose}>
Cancel
</Button>
<Button
type="submit"
variant="contained"
minHeight={35}
minWidth={140}
color="primary"
data-testid="review-tx-btn"

View File

@ -161,13 +161,12 @@ const SendFunds = ({
</Block>
<Hairline />
<Row align="center" className={classes.buttonRow}>
<Button minWidth={140} minHeight={35} onClick={onClose}>
<Button minWidth={140} onClick={onClose}>
Cancel
</Button>
<Button
type="submit"
variant="contained"
minHeight={35}
minWidth={140}
color="primary"
data-testid="review-tx-btn"