Nominate trust warning (#3309)

This commit is contained in:
Jaco Greeff 2020-08-01 14:39:41 +02:00 committed by GitHub
parent 22ea2b401c
commit bab644ec82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -80,10 +80,11 @@ function Nominate ({ className = '', controllerId, nominating, onChange, stashId
onChange={setSelected}
valueLabel={t<string>('nominated accounts')}
/>
<article className='warning'>{t<string>('You should trust your nominations to act competently and honest; basing your decision purely on their current profitability could lead to reduced profits or even loss of funds.')}</article>
</Modal.Column>
<Modal.Column>
<p>{t<string>('Nominators can be selected manually from the list of all currently available validators. If you have set favorites these will appear for the selection.')}</p>
<p>{t<string>('Once transmitted the new selection will only take effect in 2 eras since the selection criteria for the next era was done at the end of the previous era. Until then, the nominations will show as inactive.')}</p>
<p>{t<string>('Nominators can be selected manually from the list of all currently available validators.')}</p>
<p>{t<string>('Once transmitted the new selection will only take effect in 2 eras taking the new validator election cycle into account. Until then, the nominations will show as inactive.')}</p>
</Modal.Column>
</Modal.Columns>
</div>

View File

@ -169,8 +169,11 @@ export default createGlobalStyle<Props>`
&.error,
&.warning {
font-size: 0.95rem;
margin-left: 2.25rem;
padding: 0.75rem 1rem;
&:not(.full) {
margin-left: 2.25rem;
}
}
&.nomargin {