use visibility to keep height consistent in wallet card

This commit is contained in:
Jamal Jackson 2016-10-19 11:48:35 -04:00
parent 90544e8f05
commit 6c0a4993ec
2 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,12 @@
margin-bottom:5px;
font-size:13px;
}
&.wallet-number{
visibility: hidden;
}
&.visible{
visibility: visible !important;
}
}
.big-icon-svg{
& > .bg{padding:.3rem;width: 40px;height:40px;}

View File

@ -10,7 +10,7 @@
<span class="item-note m10l">
{{wallet.status.availableBalanceStr}}
</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}}
</span>
</div>