diff --git a/css/src/main.css b/css/src/main.css index 14e818f75..de889402a 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -630,7 +630,6 @@ a.button-setup { width: 100%; padding: 0.3rem 0.7rem; color: white; - border-bottom: 1px solid #374756; } .hidden { @@ -808,6 +807,12 @@ input[type=number]::-webkit-outer-spin-button { background-color: #1ABC9C; } +.addresses .label { + font-weight: normal; + padding: .2rem .3rem; + font-size: 8px; +} + .label.success { background-color: #1ABC9C; } 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/create.html b/views/create.html index 1f6e21dbb..5c2535aab 100644 --- a/views/create.html +++ b/views/create.html @@ -4,54 +4,56 @@ Creating wallet...