diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-30 05:39:25 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-30 05:39:25 +0800 |
commit | 7f92a8da06b9e40705a0d1678480b302bd9d5607 (patch) | |
tree | 6ce507bb67960ecd43ca7d3658b37507dca733bf | |
parent | fb92b8a5fe62bcdb4e56eab669134c46ba2e8929 (diff) | |
download | tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar.gz tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar.bz2 tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar.lz tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar.xz tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.tar.zst tangerine-wallet-browser-7f92a8da06b9e40705a0d1678480b302bd9d5607.zip |
Use clipboard icon for copy button
-rw-r--r-- | ui/app/components/copyButton.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ui/app/components/copyButton.js b/ui/app/components/copyButton.js index 74fd673c2..1fdc3f822 100644 --- a/ui/app/components/copyButton.js +++ b/ui/app/components/copyButton.js @@ -14,9 +14,14 @@ CopyButton.prototype.render = function () { const props = this.props const value = props.value - return h('img.cursor-pointer.color-orange', { - src: 'images/copy.svg', - title: 'Copy Address', + return h('i.fa.fa-clipboard.cursor-pointer.color-orange', { + title: props.title || 'Copy', + style: { + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + margin: '5px', + }, onClick: (event) => { event.preventDefault() event.stopPropagation() |