From d8965b6304c24b940dfa167bb85f1b0708e94e7b Mon Sep 17 00:00:00 2001 From: apanizo Date: Tue, 25 Sep 2018 10:38:07 +0200 Subject: [PATCH] Adapt owners inputs to new flow --- .../open/components/SafeForm/Owners/index.jsx | 42 +++++++++---------- .../open/components/SafeNameForm/index.jsx | 13 ++---- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/src/routes/open/components/SafeForm/Owners/index.jsx b/src/routes/open/components/SafeForm/Owners/index.jsx index e5f395c5..18295edd 100644 --- a/src/routes/open/components/SafeForm/Owners/index.jsx +++ b/src/routes/open/components/SafeForm/Owners/index.jsx @@ -52,29 +52,27 @@ const Owners = (props: Props) => { { renderOwners && [...Array(Number(numOwners))].map((x, index) => ( - + + Owner Nº {index + 1} - Owner Nº {index + 1} - - - - - - + + + + diff --git a/src/routes/open/components/SafeNameForm/index.jsx b/src/routes/open/components/SafeNameForm/index.jsx index 8a4fd0c6..7f73a079 100644 --- a/src/routes/open/components/SafeNameForm/index.jsx +++ b/src/routes/open/components/SafeNameForm/index.jsx @@ -7,7 +7,6 @@ import { required } from '~/components/forms/validator' import Block from '~/components/layout/Block' import { FIELD_NAME } from '~/routes/open/components/fields' import Paragraph from '~/components/layout/Paragraph' -import { lg } from '~/theme/variables' import OpenPaper from '../OpenPaper' type Props = { @@ -18,15 +17,10 @@ const styles = () => ({ root: { display: 'flex', }, - container: { - maxWidth: '600px', - letterSpacing: '-0.5px', - padding: lg, - }, }) const SafeName = ({ classes }: Props) => ( - + This setup will create a Safe with one or more owners. Optionally give the Safe a local name. @@ -53,15 +47,14 @@ const SafeName = ({ classes }: Props) => ( text="Safe name" /> - + ) const SafeNameForm = withStyles(styles)(SafeName) const SafeNamePage = () => (controls: React$Node) => ( - + - { controls } )