Hide Nominators(0) (#970)
This commit is contained in:
parent
53c1f1d711
commit
70e2f3f537
@ -159,6 +159,10 @@ class Address extends React.PureComponent<Props, State> {
|
||||
)
|
||||
: [];
|
||||
|
||||
if (!myNominators.length) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<details className='staking--Account-detail'>
|
||||
<summary>
|
||||
|
||||
@ -112,7 +112,7 @@
|
||||
|
||||
.staking--accounts-info {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
top: 0.75rem;
|
||||
right: 1rem;
|
||||
text-align: right;
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user