diff options
author | Dan <danjm.com@gmail.com> | 2017-12-09 08:48:08 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-13 04:14:40 +0800 |
commit | 05c6789030791bd1b46434cf89c1817db37e8f38 (patch) | |
tree | 5f3eeb57e416322bd6d0b427e31e531d62e1589f /ui | |
parent | 800eb2b96913684efa29ae049802b9567a825fd3 (diff) | |
download | tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.gz tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.bz2 tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.lz tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.xz tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.tar.zst tangerine-wallet-browser-05c6789030791bd1b46434cf89c1817db37e8f38.zip |
Adds button for opening app in main browser window in extension.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/tx-view.js | 5 | ||||
-rw-r--r-- | ui/app/css/itcss/components/newui-sections.scss | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index ebef22680..832f8e56a 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -107,6 +107,7 @@ TxView.prototype.render = function () { h('div.flex-row.phone-visible', { style: { margin: '1em 0.9em', + justifyContent: 'space-between', alignItems: 'center', }, }, [ @@ -139,6 +140,10 @@ TxView.prototype.render = function () { identity.name, ]), + h('div.open-in-browser', { + onClick: () => global.platform.openExtensionInBrowser(), + }, [h('img', { src: 'images/open.svg' })]) + ]), this.renderHeroBalance(), diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss index 43a59c4da..61dfbd176 100644 --- a/ui/app/css/itcss/components/newui-sections.scss +++ b/ui/app/css/itcss/components/newui-sections.scss @@ -38,6 +38,10 @@ $wallet-view-bg: $wild-sand; } } +.open-in-browser { + cursor: pointer; +} + // wallet view and sidebar .wallet-view { |