use visibility to keep height consistent in wallet card

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

View file

@ -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;}

View file

@ -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>