better spacing for tx description

This commit is contained in:
Marty Alcala 2016-11-01 14:56:53 -04:00
commit 26ad0cc110
3 changed files with 7 additions and 4 deletions

View file

@ -16,6 +16,6 @@ angular.module('copayApp.directives')
scope.emailHash = md5.createHash(scope.email.toLowerCase() || ''); scope.emailHash = md5.createHash(scope.email.toLowerCase() || '');
} }
}, },
template: '<img class="gravatar" alt="{{ name }}" height="{{ height }}" width="{{ width }}" src="https://secure.gravatar.com/avatar/{{ emailHash }}.jpg?s={{ width }}&d=mm">' template: '<img class="gravatar" alt="{{ name }}" height="{{ height }}" width="{{ width }}" src="https://secure.gravatar.com/avatar/{{ emailHash }}.jpg?s={{ width }}&d=identicon">'
} };
}); });

View file

@ -21,7 +21,10 @@
} }
&__tx-icon { &__tx-icon {
float: left; float: left;
margin-right: 10px; margin-right: 25px;
}
&__tx-message {
margin-right: 1rem;
} }
} }

View file

@ -156,7 +156,7 @@
</div> </div>
<div ng-show="btx.action == 'sent'" class="ellipsis"> <div ng-show="btx.action == 'sent'" class="ellipsis">
<div ng-if="btx.message">{{btx.message}}</div> <div ng-if="btx.message" class="wallet-details__tx-message ellipsis">{{btx.message}}</div>
<div ng-if="!btx.message && btx.note.body">{{btx.note.body}}</div> <div ng-if="!btx.message && btx.note.body">{{btx.note.body}}</div>
<div ng-if="!btx.message && !btx.note.body && addressbook[btx.addressTo]"> <div ng-if="!btx.message && !btx.note.body && addressbook[btx.addressTo]">
{{addressbook[btx.addressTo].name || addressbook[btx.addressTo]}} {{addressbook[btx.addressTo].name || addressbook[btx.addressTo]}}