Skip to content

Commit

Permalink
Merge pull request #8017 from adeel0202/adeel-remove-checkbox-bottom-…
Browse files Browse the repository at this point in the history
…margin

remove extra margin below checkbox
  • Loading branch information
luacmartins authored Mar 8, 2022
2 parents 67f26ba + 460135f commit 1cf92c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/pages/EnablePayments/TermsStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class TermsStep extends React.Component {
)}
/>
<CheckboxWithLabel
style={styles.mb4}
isChecked={this.state.hasAcceptedPrivacyPolicyAndWalletAgreement}
onPress={this.togglePrivacyPolicy}
LabelComponent={() => (
Expand Down Expand Up @@ -107,7 +106,7 @@ class TermsStep extends React.Component {
)}
<Button
success
style={styles.mb4}
style={[styles.mv4]}
text={this.props.translate('termsStep.enablePayments')}
isLoading={this.props.walletTerms.loading}
onPress={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ReimbursementAccount/BankAccountStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class BankAccountStep extends React.Component {
errorText={this.getErrorText('accountNumber')}
/>
<CheckboxWithLabel
style={[styles.mb4, styles.mt5]}
style={styles.mt4}
isChecked={this.state.hasAcceptedTerms}
onPress={this.toggleTerms}
LabelComponent={() => (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/Payments/AddDebitCardPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class DebitCardPage extends Component {
</TextLink>
</>
)}
style={[styles.mt4, styles.mb4]}
style={styles.mt4}
errorText={this.getErrorText('acceptedTerms')}
hasError={Boolean(this.state.errors.acceptedTerms)}
/>
Expand Down

0 comments on commit 1cf92c8

Please sign in to comment.