diff --git a/css/src/mobile.css b/css/src/mobile.css index 8f04fb956..400c76249 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -39,7 +39,7 @@ margin-top: 40px; margin-left: 0; margin-bottom: -40px; - padding: 20px 10px 60px 10px; + padding: 20px 0 60px 0; } .tab-bar { @@ -116,8 +116,8 @@ color: white; } - .addresses .panel { - padding: 1rem 0.8rem; + .panel { + padding: 0.5rem; } .btn-copy { @@ -184,3 +184,18 @@ } +@media (max-width: 640px) { + .tx-date { + margin-bottom: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; + } + + .tx-comment { + border-top: 1px solid #eee; + padding-top: 10px; + margin-top: 10px; + } + +} + diff --git a/js/models/Wallet.js b/js/models/Wallet.js index 2695c94f3..dcdf76a7e 100644 --- a/js/models/Wallet.js +++ b/js/models/Wallet.js @@ -2823,7 +2823,7 @@ Wallet.prototype.getTransactionHistory = function(cb) { return { type: 'out', - address: addr ? addr : itemAddr, + address: addr ? addr.addressStr : itemAddr, isMine: !_.isUndefined(addr), isChange: addr ? !!addr.isChange : false, label: self.addressBook[itemAddr] ? self.addressBook[itemAddr].label : undefined, @@ -2880,6 +2880,7 @@ Wallet.prototype.getTransactionHistory = function(cb) { }); tx.comment = proposal ? proposal.comment : undefined; tx.labelTo = firstOut ? firstOut.label : undefined; + tx.addressTo = firstOut ? firstOut.address : undefined; tx.amountSat = Math.abs(amount); tx.amount = tx.amountSat * satToUnit; tx.sentTs = proposal ? proposal.sentTs : undefined; diff --git a/views/receive.html b/views/receive.html index 391270c2f..c82c2443b 100644 --- a/views/receive.html +++ b/views/receive.html @@ -1,61 +1,67 @@
-

Receive

+

{{$root.title}}

-
-
-
-
-
-
-
+
+
+
+
+
+
+
- - + + change
-
- - - - - {{addr.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} - -
- -
-
- -
- - change -
-
- +
+
+
+
+ + change +
+
+ + + + + {{addr.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} + +
+
+
+
+
-
- - - Show all - Show less - - -