use visibility to keep height consistent in wallet card
This commit is contained in:
parent
90544e8f05
commit
6c0a4993ec
2 changed files with 7 additions and 1 deletions
|
|
@ -28,6 +28,12 @@
|
||||||
margin-bottom:5px;
|
margin-bottom:5px;
|
||||||
font-size:13px;
|
font-size:13px;
|
||||||
}
|
}
|
||||||
|
&.wallet-number{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
&.visible{
|
||||||
|
visibility: visible !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.big-icon-svg{
|
.big-icon-svg{
|
||||||
& > .bg{padding:.3rem;width: 40px;height:40px;}
|
& > .bg{padding:.3rem;width: 40px;height:40px;}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<span class="item-note m10l">
|
<span class="item-note m10l">
|
||||||
{{wallet.status.availableBalanceStr}}
|
{{wallet.status.availableBalanceStr}}
|
||||||
</span>
|
</span>
|
||||||
<span class="item-note m10l" ng-show="wallet.n > 1 && wallet.isComplete()">
|
<span class="item-note m10l wallet-number" ng-class="{'visible': wallet.n > 1 && wallet.isComplete()}">
|
||||||
{{wallet.m}}-of-{{wallet.n}}
|
{{wallet.m}}-of-{{wallet.n}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue