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