From c96d6a8ea8128949126a9838bab63958df04b99f Mon Sep 17 00:00:00 2001 From: Tom Kirkpatrick Date: Mon, 19 Nov 2018 23:30:19 +0100 Subject: [PATCH] style(home): improved homepage layout --- .../Home/WalletSettingsFormLocal.js | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/app/components/Home/WalletSettingsFormLocal.js b/app/components/Home/WalletSettingsFormLocal.js index 1bbc8f64..639cf93b 100644 --- a/app/components/Home/WalletSettingsFormLocal.js +++ b/app/components/Home/WalletSettingsFormLocal.js @@ -96,22 +96,23 @@ class WalletSettingsFormLocal extends React.Component { Alias} - right={} + right={ + + } /> Autopilot} - right={ - - } + right={} /> {formState.values.autopilot ? ( @@ -120,27 +121,29 @@ class WalletSettingsFormLocal extends React.Component { py={2} left={} right={ - + } @@ -156,12 +159,11 @@ class WalletSettingsFormLocal extends React.Component { variant="thin" type="number" initialValue={wallet.autopilotMaxchannels} - validate={this.validateAutopilotMaxchannels} - validateOnChange={formState.invalid} - validateOnBlur step="1" width={100} ml="auto" + justifyContent="right" + css={{ 'text-align': 'right' }} /> } /> @@ -179,11 +181,10 @@ class WalletSettingsFormLocal extends React.Component { max="100000000" step="1" initialValue={wallet.autopilotMinchansize} - validate={this.validateAutopilotChansize} - validateOnBlur - validateOnChange={formState.invalid} width={100} ml="auto" + justifyContent="right" + css={{ 'text-align': 'right' }} /> } /> @@ -201,11 +202,10 @@ class WalletSettingsFormLocal extends React.Component { max="100000000" step="1" initialValue={wallet.autopilotMaxchansize} - validate={this.validateAutopilotChansize} - validateOnChange={formState.invalid} - validateOnBlur width={100} ml="auto" + justifyContent="right" + css={{ 'text-align': 'right' }} /> } />