diff --git a/css/src/main.css b/css/src/main.css index b071003f7..7227a1bc4 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -203,6 +203,11 @@ header .alt-currency { float: left; } +.col2_full { + width: 194px; + height: 62px; +} + .col3 a { font-size: 20px; display: block; @@ -607,14 +612,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; @@ -1128,8 +1129,6 @@ a:hover .photo-container { color: #fff; } -.side-nav {padding-top: 50px;} - .side-nav li { font-size: 16px; line-height: 40px; diff --git a/css/src/mobile.css b/css/src/mobile.css index f5c498a42..0795d9a02 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -199,5 +199,9 @@ padding: 0.15rem 0.2rem; } + .line-t { + border-top: 1px solid #3C5269; + } + } diff --git a/js/controllers/sidebar.js b/js/controllers/sidebar.js index c0bda7eb9..97eb4ea50 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-mobile.html b/views/includes/sidebar-mobile.html index 9f0a8ea89..ce882f4d5 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -59,7 +59,7 @@ {{'Add Wallet' | translate }} -
+
@@ -73,12 +73,13 @@ - {{lockedBalance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} -   + + {{lockedBalance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} +
-
+