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; position: relative;
overflow: visible; overflow: visible;
&:before { .amount-bg {
content: ''; content: '';
top: -1000px; top: -1000px;
left: 0; left: 0;

View file

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

View file

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

View file

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