Hide Nominators(0) (#970)

This commit is contained in:
Jaco Greeff 2019-04-11 16:22:26 +02:00 committed by GitHub
parent 53c1f1d711
commit 70e2f3f537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -159,6 +159,10 @@ class Address extends React.PureComponent<Props, State> {
)
: [];
if (!myNominators.length) {
return null;
}
return (
<details className='staking--Account-detail'>
<summary>

View File

@ -112,7 +112,7 @@
.staking--accounts-info {
position: absolute;
top: 1rem;
top: 0.75rem;
right: 1rem;
text-align: right;

View File

@ -68,7 +68,7 @@ article {
border-radius: 0.25rem;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
margin: 0.25rem;
padding: 1rem 1.5rem;
padding: 1.25rem 1.5rem;
text-align: left;
&.padded {