Update the style of the buttons in modal windows
This commit is contained in:
parent
4ed4fa56e0
commit
048b8084df
|
@ -154,15 +154,15 @@ const ReviewAddOwner = ({
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClickBack}>
|
<Button minWidth={140} minHeight={42} onClick={onClickBack}>
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
|
minHeight={42}
|
||||||
color="primary"
|
color="primary"
|
||||||
testId={ADD_OWNER_SUBMIT_BTN_TEST_ID}
|
testId={ADD_OWNER_SUBMIT_BTN_TEST_ID}
|
||||||
>
|
>
|
||||||
|
|
|
@ -101,14 +101,14 @@ owner(s)
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClickBack}>
|
<Button minWidth={140} minHeight={42} onClick={onClickBack}>
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
|
minHeight={42}
|
||||||
color="primary"
|
color="primary"
|
||||||
testId={ADD_OWNER_THRESHOLD_NEXT_BTN_TEST_ID}
|
testId={ADD_OWNER_THRESHOLD_NEXT_BTN_TEST_ID}
|
||||||
>
|
>
|
||||||
|
|
|
@ -102,10 +102,10 @@ const EditOwnerComponent = ({
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClose}>
|
<Button minWidth={140} minHeight={42} onClick={onClose}>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="submit" className={classes.button} variant="contained" minWidth={140} color="primary" testId={SAVE_OWNER_CHANGES_BTN_TEST_ID}>
|
<Button type="submit" variant="contained" minWidth={140} minHeight={42} color="primary" testId={SAVE_OWNER_CHANGES_BTN_TEST_ID}>
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -79,13 +79,14 @@ const CheckOwner = ({
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClose}>
|
<Button minWidth={140} minHeight={42} onClick={onClose}>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
|
minHeight={42}
|
||||||
color="primary"
|
color="primary"
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
testId={REMOVE_OWNER_MODAL_NEXT_BTN_TEST_ID}
|
testId={REMOVE_OWNER_MODAL_NEXT_BTN_TEST_ID}
|
||||||
|
|
|
@ -175,14 +175,14 @@ Safe owner(s)
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClickBack}>
|
<Button minWidth={140} minHeight={42} onClick={onClickBack}>
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
minHeight={42}
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
color="primary"
|
color="primary"
|
||||||
testId={REMOVE_OWNER_REVIEW_BTN_TEST_ID}
|
testId={REMOVE_OWNER_REVIEW_BTN_TEST_ID}
|
||||||
|
|
|
@ -105,13 +105,13 @@ owner(s)
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClickBack}>
|
<Button minWidth={140} minHeight={42} onClick={onClickBack}>
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
minHeight={42}
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
color="primary"
|
color="primary"
|
||||||
data-testid={REMOVE_OWNER_THRESHOLD_NEXT_BTN_TEST_ID}
|
data-testid={REMOVE_OWNER_THRESHOLD_NEXT_BTN_TEST_ID}
|
||||||
|
|
|
@ -200,14 +200,14 @@ const ReviewRemoveOwner = ({
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClickBack}>
|
<Button minWidth={140} minHeight={42} onClick={onClickBack}>
|
||||||
Back
|
Back
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
minHeight={42}
|
||||||
minWidth={140}
|
minWidth={140}
|
||||||
color="primary"
|
color="primary"
|
||||||
testId={REPLACE_OWNER_SUBMIT_BTN_TEST_ID}
|
testId={REPLACE_OWNER_SUBMIT_BTN_TEST_ID}
|
||||||
|
|
|
@ -82,7 +82,7 @@ const RemoveSafeComponent = ({
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline />
|
<Hairline />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClose}>
|
<Button minWidth={140} minHeight={42} onClick={onClose}>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -27,6 +27,7 @@ export const styles = (theme: Object) => ({
|
||||||
buttonRemove: {
|
buttonRemove: {
|
||||||
color: '#fff',
|
color: '#fff',
|
||||||
backgroundColor: error,
|
backgroundColor: error,
|
||||||
|
height: '42px',
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
|
|
|
@ -103,10 +103,10 @@ owner(s)
|
||||||
</Block>
|
</Block>
|
||||||
<Hairline style={{ position: 'absolute', bottom: 85 }} />
|
<Hairline style={{ position: 'absolute', bottom: 85 }} />
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} onClick={onClose}>
|
<Button minWidth={140} onClick={onClose}>
|
||||||
BACK
|
BACK
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="submit" color="primary" className={classes.button} minWidth={140} variant="contained">
|
<Button type="submit" color="primary" minWidth={140} variant="contained">
|
||||||
CHANGE
|
CHANGE
|
||||||
</Button>
|
</Button>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -104,12 +104,11 @@ const ApproveTxModal = ({
|
||||||
</Row>
|
</Row>
|
||||||
</Block>
|
</Block>
|
||||||
<Row align="center" className={classes.buttonRow}>
|
<Row align="center" className={classes.buttonRow}>
|
||||||
<Button className={classes.button} minWidth={140} minHeight={42} onClick={onClose}>
|
<Button minWidth={140} minHeight={42} onClick={onClose}>
|
||||||
Exit
|
Exit
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
className={classes.button}
|
|
||||||
variant="contained"
|
variant="contained"
|
||||||
minWidth={214}
|
minWidth={214}
|
||||||
minHeight={42}
|
minHeight={42}
|
||||||
|
|
Loading…
Reference in New Issue