PNP UI Change for Preferences
This commit is contained in:
parent
a27890b988
commit
f94e43e74a
3 changed files with 30 additions and 27 deletions
|
@ -1191,18 +1191,26 @@ export function Preferences({
|
|||
{i18n('icu:Preferences__button--privacy')}
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
className="Preferences__link"
|
||||
onClick={() => setPage(Page.PNP)}
|
||||
>
|
||||
<h3 className="Preferences__padding">
|
||||
{i18n('icu:Preferences__pnp__row--title')}
|
||||
</h3>
|
||||
<div className="Preferences__padding Preferences__description">
|
||||
{i18n('icu:Preferences__pnp__row--body')}
|
||||
</div>
|
||||
</button>
|
||||
<SettingsRow>
|
||||
<Control
|
||||
left={
|
||||
<div className="Preferences__pnp">
|
||||
<h3>{i18n('icu:Preferences__pnp__row--title')}</h3>
|
||||
<div className="Preferences__description">
|
||||
{i18n('icu:Preferences__pnp__row--body')}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
right={
|
||||
<Button
|
||||
onClick={() => setPage(Page.PNP)}
|
||||
variant={ButtonVariant.Secondary}
|
||||
>
|
||||
{i18n('icu:Preferences__pnp__row--button')}
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
</SettingsRow>
|
||||
<SettingsRow>
|
||||
<Control
|
||||
left={i18n('icu:Preferences--blocked')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue