fix disabled rewards message styling
This commit is contained in:
parent
9466c8ad94
commit
fbb4041e78
1 changed files with 3 additions and 2 deletions
|
@ -81,12 +81,13 @@ class RewardsPage extends React.PureComponent {
|
||||||
|
|
||||||
if (!daemonSettings.share_usage_data) {
|
if (!daemonSettings.share_usage_data) {
|
||||||
return (
|
return (
|
||||||
<div className="card__content empty">
|
<div className="card card--section">
|
||||||
|
<div className="card__title">{__('Disabled')}</div>
|
||||||
<p>
|
<p>
|
||||||
{__(
|
{__(
|
||||||
'Rewards are currently disabled for your account. Turn on diagnostic data sharing, in'
|
'Rewards are currently disabled for your account. Turn on diagnostic data sharing, in'
|
||||||
)}{' '}
|
)}{' '}
|
||||||
<Button onClick={() => navigate('/settings')} label="Settings" />
|
<Button button="link" onClick={() => navigate('/settings')} label="Settings" />
|
||||||
{__(', in order to re-enable them.')}
|
{__(', in order to re-enable them.')}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue