Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #8337 from bsclifton/fix-payments-faq
Browse files Browse the repository at this point in the history
Move the FAQ link next to the payment on/off toggle
  • Loading branch information
bbondy authored Apr 17, 2017
2 parents 2b1d9ea + 00c3bbb commit aff6341
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions app/renderer/components/preferences/paymentsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,16 @@ class PaymentsTab extends ImmutableComponent {
switchClassName={css(styles.switchWrap__switchControl)}
labelClassName={css(styles.switchWrap__label)}
/>
<a className={cx({
fa: true,
'fa-question-circle': true,
[css(styles.autoSuggestSwitch__moreInfo)]: true,
[css(styles.autoSuggestSwitch__moreInfoBtnSuggest)]: true
})}
href='https://brave.com/Payments_FAQ.html'
target='_blank'
data-l10n-id='paymentsFAQLink'
/>
</div>
{
this.enabled
Expand All @@ -198,16 +208,6 @@ class PaymentsTab extends ImmutableComponent {
onChangeSetting={this.props.onChangeSetting}
switchClassName={css(styles.switchWrap__switchControl)}
/>
<a className={cx({
fa: true,
'fa-question-circle': true,
[css(styles.autoSuggestSwitch__moreInfo)]: true,
[css(styles.autoSuggestSwitch__moreInfoBtnSuggest)]: true
})}
href='https://brave.com/Payments_FAQ.html'
target='_blank'
data-l10n-id='paymentsFAQLink'
/>
</div>
</div>
<div className={css(styles.switchWrap__mainIconsRight)}>
Expand Down Expand Up @@ -309,7 +309,8 @@ const styles = StyleSheet.create({
},
autoSuggestSwitch__moreInfoBtnSuggest: {
position: 'relative',
left: '5px',
top: '-1px',
left: '8px',
cursor: 'pointer',

// TODO: refactor preferences.less to remove !important
Expand Down

0 comments on commit aff6341

Please sign in to comment.