fix input spacings
This commit is contained in:
parent
659075d745
commit
d08be2e8e4
|
@ -26,6 +26,9 @@ const styles = () => ({
|
|||
root: {
|
||||
display: 'flex',
|
||||
maxWidth: '460px',
|
||||
'&:last-child': {
|
||||
marginTop: '12px',
|
||||
},
|
||||
},
|
||||
check: {
|
||||
color: '#03AE60',
|
||||
|
|
|
@ -98,10 +98,10 @@ class SafeOwners extends React.Component<Props, State> {
|
|||
}
|
||||
|
||||
onRemoveRow = (index: number) => () => {
|
||||
const { values } = this.props
|
||||
const { values, updateInitialProps } = this.props
|
||||
const { numOwners } = this.state
|
||||
const initialValues = calculateValuesAfterRemoving(index, numOwners, values)
|
||||
this.props.updateInitialProps(initialValues)
|
||||
updateInitialProps(initialValues)
|
||||
|
||||
|
||||
this.setState(state => ({
|
||||
|
@ -132,7 +132,7 @@ class SafeOwners extends React.Component<Props, State> {
|
|||
<Col xs={8}>ADDRESS</Col>
|
||||
</Row>
|
||||
<Hairline />
|
||||
<Block margin="md">
|
||||
<Block margin="md" padding="md">
|
||||
{ [...Array(Number(numOwners))].map((x, index) => {
|
||||
const addressName = getOwnerAddressBy(index)
|
||||
|
||||
|
|
Loading…
Reference in New Issue