Show token icons on list summary pages (#4826)
* Adjust balance overlay margins (no jumps) * Img only balances, small verifications * Invalid tests removed * Always wrap display (Thanks @ngotchac) * Update tests to reflect reality
This commit is contained in:
@@ -116,7 +116,6 @@ class Summary extends Component {
|
||||
{ this.renderBalance(false) }
|
||||
{ this.renderDescription(account.meta) }
|
||||
{ this.renderOwners() }
|
||||
{ this.renderCertifications() }
|
||||
{ this.renderVault(account.meta) }
|
||||
</div>
|
||||
}
|
||||
@@ -155,8 +154,8 @@ class Summary extends Component {
|
||||
</div>
|
||||
<div className={ styles.summary }>
|
||||
{ this.renderBalance(true) }
|
||||
{ this.renderCertifications(true) }
|
||||
</div>
|
||||
{ this.renderCertifications(true) }
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -41,19 +41,24 @@
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
.iconCertifications {
|
||||
top: 72px;
|
||||
opacity: 1;
|
||||
position: absolute;
|
||||
left: 88px;
|
||||
|
||||
img {
|
||||
height: 1em !important;
|
||||
width: 1em !important;
|
||||
}
|
||||
}
|
||||
|
||||
.summary {
|
||||
position: relative;
|
||||
|
||||
.ethBalances {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.iconCertifications {
|
||||
bottom: -0.25em;
|
||||
opacity: 1;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.overlay {
|
||||
@@ -82,10 +87,6 @@
|
||||
.ethBalances {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.iconCertifications {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user