From bab644ec82e20d2f721b7b4bd2cc2015722454e3 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 1 Aug 2020 14:39:41 +0200 Subject: [PATCH] Nominate trust warning (#3309) --- packages/page-staking/src/Actions/partials/Nominate.tsx | 5 +++-- packages/react-components/src/styles/index.ts | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/page-staking/src/Actions/partials/Nominate.tsx b/packages/page-staking/src/Actions/partials/Nominate.tsx index 13e206706d..96e6ee26e4 100644 --- a/packages/page-staking/src/Actions/partials/Nominate.tsx +++ b/packages/page-staking/src/Actions/partials/Nominate.tsx @@ -80,10 +80,11 @@ function Nominate ({ className = '', controllerId, nominating, onChange, stashId onChange={setSelected} valueLabel={t('nominated accounts')} /> +
{t('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.')}
-

{t('Nominators can be selected manually from the list of all currently available validators. If you have set favorites these will appear for the selection.')}

-

{t('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.')}

+

{t('Nominators can be selected manually from the list of all currently available validators.')}

+

{t('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.')}

diff --git a/packages/react-components/src/styles/index.ts b/packages/react-components/src/styles/index.ts index 90949dd2ee..6f2d237a0a 100644 --- a/packages/react-components/src/styles/index.ts +++ b/packages/react-components/src/styles/index.ts @@ -169,8 +169,11 @@ export default createGlobalStyle` &.error, &.warning { font-size: 0.95rem; - margin-left: 2.25rem; padding: 0.75rem 1rem; + + &:not(.full) { + margin-left: 2.25rem; + } } &.nomargin {