Skip to content

Commit

Permalink
rewards settings style
Browse files Browse the repository at this point in the history
package.json update
  • Loading branch information
Ross Moody authored and rossmoody committed Apr 23, 2019
1 parent 56c9c77 commit d5cdb53
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions components/brave_rewards/resources/ui/components/adsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class AdsBox extends React.Component<Props, State> {
<DisabledContent
type={'ads'}
>
{getLocale('adsDisabledTextOne')} <br />
{getLocale('adsDisabledTextTwo')}
{getLocale('adsDisabledTextOne')} <br />
{getLocale('adsDisabledTextTwo')}
</DisabledContent>
)
}
Expand Down Expand Up @@ -86,7 +86,7 @@ class AdsBox extends React.Component<Props, State> {
const { adsPerHour } = this.props.rewardsData.adsData

return (
<Grid columns={1} customStyle={{ maxWidth: '270px', margin: '0 auto' }}>
<Grid columns={1} customStyle={{ margin: '0 auto' }}>
<Column size={1} customStyle={{ justifyContent: 'center', flexWrap: 'wrap' }}>
<ControlWrapper text={getLocale('adsPerHour')}>
<Select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class ContributeBox extends React.Component<Props, State> {
<DisabledContent
type={'contribute'}
>
{getLocale('contributionDisabledText1')} <br />
{getLocale('contributionDisabledText2')}
{getLocale('contributionDisabledText1')} <br />
{getLocale('contributionDisabledText2')}
</DisabledContent>
)
}
Expand Down Expand Up @@ -120,7 +120,7 @@ class ContributeBox extends React.Component<Props, State> {
}

return (
<Grid columns={1} customStyle={{ maxWidth: '270px', margin: '0 auto' }}>
<Grid columns={1} customStyle={{ margin: '0 auto' }}>
<Column size={1} customStyle={{ justifyContent: 'center', flexWrap: 'wrap' }}>
<ControlWrapper text={getLocale('contributionMonthly')}>
<Select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class DonationBox extends React.Component<Props, State> {
<DisabledContent
type={'donation'}
>
{getLocale('donationDisabledText1')}<br/>
{getLocale('donationDisabledText2')}
{getLocale('donationDisabledText1')}<br/>
{getLocale('donationDisabledText2')}
</DisabledContent>
)
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
"@types/react-redux": "6.0.4",
"@types/redux-logger": "^3.0.7",
"awesome-typescript-loader": "^5.2.1",
"brave-ui": "github:brave/brave-ui#f2762fd62577aa5e177b462ead9c3c32ef8d915a",
"brave-ui": "github:brave/brave-ui#120b4f17c65a23c9f4dd54b1f61e6e5c10751c82",
"css-loader": "^2.1.1",
"csstype": "^2.5.5",
"deep-freeze-node": "^1.1.3",
Expand Down

0 comments on commit d5cdb53

Please sign in to comment.