reenable scroll bounce for wallet details

This commit is contained in:
Marty Alcala 2016-11-04 16:58:13 -04:00
commit d7932dc31c
4 changed files with 18 additions and 3 deletions

View file

@ -14,7 +14,7 @@
position: relative;
overflow: visible;
&:before {
.amount-bg {
content: '';
top: -1000px;
left: 0;

View file

@ -94,6 +94,19 @@
.nav-bar-block, .bar {
background-color: inherit !important;
}
.amount-wrapper {
position: relative;
overflow: visible;
.amount-bg {
content: '';
top: -1000px;
left: 0;
position: absolute;
height: 1000px;
width: 100%;
}
}
.amount {
width: 100%;
text-align: center;

View file

@ -17,6 +17,7 @@
</div>
<div class="amount-wrapper" ng-show="!error">
<div class="amount-bg"></div>
<div class="amount">
<div ng-if="bitpayCard.bitpayCardCurrentBalance" ng-click="bitpayCard.update()">
<div class="amount__balance">${{bitpayCard.bitpayCardCurrentBalance}}</div>

View file

@ -10,14 +10,15 @@
</ion-nav-buttons>
</ion-nav-bar>
<ion-content has-bouncing="false">
<ion-content>
<ion-refresher
ng-if="isAndroid"
pulling-icon="ion-ios-refresh"
spinner="ios-small"
on-refresh="onRefresh()">
</ion-refresher>
<div class="oh pr" ng-show="wallet && wallet.isComplete()">
<div class="amount-wrapper" ng-show="wallet && wallet.isComplete()" ng-style="{'background-color':wallet.color}">
<div class="amount-bg" ng-style="{'background-color':wallet.color}"></div>
<div ng-style="{'background-color':wallet.color}" class="amount">
<div ng-if="!notAuthorized && !updatingStatus">