diff --git a/css/src/main.css b/css/src/main.css index 007944bf6..9ae987cb2 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -204,6 +204,11 @@ header .alt-currency { float: left; } +.col2_full { + width: 194px; + height: 62px; +} + .col3 a { font-size: 20px; display: block; @@ -608,14 +613,10 @@ a.button-setup { color: #B6E9DF; } -.founds .locked { +.locked { font-size: 11px; - z-index: -99999; background-color: #213140; - position: absolute; - top: 52px; - width: 250px; - left: 0; + width: 100%; padding: 0.3rem 0.7rem; color: white; border-bottom: 1px solid #374756; @@ -1129,8 +1130,6 @@ a:hover .photo-container { color: #fff; } -.side-nav {padding-top: 50px;} - .side-nav li { font-size: 16px; line-height: 40px; diff --git a/js/controllers/sidebar.js b/js/controllers/sidebar.js index 576618b8f..400072070 100644 --- a/js/controllers/sidebar.js +++ b/js/controllers/sidebar.js @@ -50,6 +50,7 @@ angular.module('copayApp.controllers').controller('SidebarController', function( if ($rootScope.wallet) { $rootScope.$watch('wallet.id', function() { $scope.walletSelection = false; + $scope.getWallets(); }); } @@ -61,6 +62,10 @@ angular.module('copayApp.controllers').controller('SidebarController', function( $scope.walletSelection = !$scope.walletSelection; if (!$scope.walletSelection) return; + $scope.getWallets(); + }; + + $scope.getWallets = function() { $scope.wallets = []; var wids = _.pluck($rootScope.iden.listWallets(), 'id'); _.each(wids, function(wid) { diff --git a/views/includes/sidebar.html b/views/includes/sidebar.html index 933158b91..6861c9858 100644 --- a/views/includes/sidebar.html +++ b/views/includes/sidebar.html @@ -1,9 +1,9 @@ -
You do not have another wallets. Creates one more from link below.
-