From 7f92a8da06b9e40705a0d1678480b302bd9d5607 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 29 Jun 2016 14:39:25 -0700 Subject: Use clipboard icon for copy button --- ui/app/components/copyButton.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ui/app/components') 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() -- cgit