Revert "adding loading placeholders to avoid the screen resize in tab-home view"
This commit is contained in:
parent
05b8aa2b4c
commit
8cefdc1312
6 changed files with 75 additions and 146 deletions
|
|
@ -194,7 +194,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
if (err) $log.error(err);
|
||||
$scope.txps = txps;
|
||||
$scope.txpsN = n;
|
||||
$scope.txpsFinished = true;
|
||||
$timeout(function() {
|
||||
$ionicScrollDelegate.resize();
|
||||
$scope.$apply();
|
||||
|
|
@ -226,7 +225,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
}
|
||||
if (++j == i) {
|
||||
updateTxps();
|
||||
$scope.walletsFinished = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -254,7 +252,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
}
|
||||
$scope.notifications = notifications;
|
||||
$scope.notificationsN = total;
|
||||
$scope.notificationsFinished = true;
|
||||
$timeout(function() {
|
||||
$ionicScrollDelegate.resize();
|
||||
$scope.$apply();
|
||||
|
|
|
|||
|
|
@ -53,44 +53,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.loading-block-title {
|
||||
height: 20px;
|
||||
width: 150px;
|
||||
background:-webkit-radial-gradient(#fff, #f7f7f7);
|
||||
background-size: 20px 100px;
|
||||
-webkit-animation: m .6s linear infinite;
|
||||
}
|
||||
.loading-block-body {
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
background: -webkit-radial-gradient(#fff, #f7f7f7);
|
||||
background-size: 25px 100%;
|
||||
-webkit-animation: m .6s linear infinite;
|
||||
}
|
||||
@keyframes m {
|
||||
0% {
|
||||
background-position: 20px 0;
|
||||
}
|
||||
100% {
|
||||
}
|
||||
}
|
||||
}
|
||||
.card-loading-placeholder {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.loading-placeholder {
|
||||
height: 100%;
|
||||
.row {
|
||||
height: 50%;
|
||||
}
|
||||
}
|
||||
.animate-show-hide.ng-hide {
|
||||
opacity: 0;
|
||||
}
|
||||
.animate-show-hide.ng-hide-add,
|
||||
.animate-show-hide.ng-hide-remove {
|
||||
transition: all linear 0.2s;
|
||||
}
|
||||
.wallet-details__item.item {
|
||||
padding-top: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue