scrollable contacts fix
This commit is contained in:
parent
658c58c59f
commit
02e22517cb
3 changed files with 6 additions and 3 deletions
|
|
@ -250,6 +250,7 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||||
|
$scope.isIOS = platformInfo.isIOS && platformInfo.isCordova;
|
||||||
$scope.showWalletsBch = $scope.showWalletsBtc = $scope.showWallets = false;
|
$scope.showWalletsBch = $scope.showWalletsBtc = $scope.showWallets = false;
|
||||||
|
|
||||||
$scope.checkingBalance = true;
|
$scope.checkingBalance = true;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
&-contacts {
|
&-contacts {
|
||||||
height: calc(100vh - 300px - 50px - 44px);
|
height: calc(100vh - 300px /* button container */ - 50px /* bottom-tab-menu */ - 44px /* header top */);
|
||||||
|
&.ios {
|
||||||
|
height: calc(100vh - 300px - 50px - 44px - 20pt); // Remove the notification-bar height on iOS
|
||||||
|
}
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,10 +86,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab-send-contacts" class="row" ng-if="hasContacts && hasWallets && hasFunds">
|
<div id="tab-send-contacts" class="row" ng-class="{'ios':isIOS}" ng-if="hasContacts && hasWallets && hasFunds">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card contacts">
|
<div class="card contacts">
|
||||||
|
|
||||||
<div class="item item-icon-right item-heading">
|
<div class="item item-icon-right item-heading">
|
||||||
<div translate>Contacts</div>
|
<div translate>Contacts</div>
|
||||||
<div translate class="subtitle"><span style="">Saved frequently used addresses</span></div>
|
<div translate class="subtitle"><span style="">Saved frequently used addresses</span></div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue