diff --git a/packages/page-accounts/src/Accounts/Banner.tsx b/packages/page-accounts/src/Accounts/Banner.tsx index 0340a8aca8..ed88abe491 100644 --- a/packages/page-accounts/src/Accounts/Banner.tsx +++ b/packages/page-accounts/src/Accounts/Banner.tsx @@ -13,7 +13,7 @@ interface Props { function Banner ({ children, className = '', type }: Props): React.ReactElement | null { return ( -
+
{children}
@@ -22,13 +22,6 @@ function Banner ({ children, className = '', type }: Props): React.ReactElement< } export default React.memo(styled(Banner)` - max-width: 75rem; - margin: 0.5rem auto !important; - - &+.ui--Button-Group { - margin-top: 2rem; - } - .box { padding: 0 0.5rem; } diff --git a/packages/page-staking/src/Payouts/index.tsx b/packages/page-staking/src/Payouts/index.tsx index bbd3b5cb9d..ea5bbe14ea 100644 --- a/packages/page-staking/src/Payouts/index.tsx +++ b/packages/page-staking/src/Payouts/index.tsx @@ -208,6 +208,12 @@ function Payouts ({ className = '', isInElection, ownValidators }: Props): React return (
+ {api.tx.staking.payoutStakers && !isLoadingRewards && !stashes?.length && ( +
+

{t('Payouts of rewards for a validator can be initiated by any account. This means that as soon as a validator or nominator requests a payout for an era, all the nominators for that validator will be rewarded. Each user does not need to claim individually and the suggestion is that validators should claim rewards for everybody as soon as an era ends.')}

+

{t('If you have not claimed rewards straight after the end of the era, the validator is in the active set and you are seeing no rewards, this would mean that the reward payout transaction was made by another account on your behalf. Always check your favorite explorer to see any historic payouts made to your accounts.')}

+
+ )} {api.tx.staking.payoutStakers && ( ` } &.nomargin { - margin-left: 0; + margin: 0.5rem auto; + max-width: 75rem; + + &+.ui--Button-Group { + margin-top: 2rem; + } } &.error {