diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 08:50:27 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 08:50:27 +0800 |
commit | c312f341199b8d05e7e78c4203d7953bdf5a184e (patch) | |
tree | 1fe1025e552792b33b883fd0c3548dc7b6814daf /ui/app | |
parent | 8a39ef03c298f846171173c38912d3386d688af2 (diff) | |
download | tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.gz tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.bz2 tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.lz tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.xz tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.zst tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.zip |
Move overlay out of transition area
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/app.js | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 9bda4966d..8552282ad 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -172,23 +172,24 @@ App.prototype.renderSidebar = function() { }, }) : undefined, - // overlay - // TODO: add onClick for overlay to close sidebar - this.props.sidebarOpen ? h('div', { - style: { - zIndex: 25, - position: 'fixed', - top: '6%', - left: '0px', - right: '0px', - bottom: '0px', - opacity: '1', - visibility: 'visible', - // transition: 'opacity 0.3s ease-out, visibility 0.3s ease-out', - backgroundColor: 'rgba(0, 0, 0, 0.3)', - } - }, []) : undefined, - ]) + ]), + + // overlay + // TODO: add onClick for overlay to close sidebar + this.props.sidebarOpen ? h('div', { + style: { + zIndex: 25, + position: 'fixed', + top: '6%', + left: '0px', + right: '0px', + bottom: '0px', + opacity: '1', + visibility: 'visible', + // transition: 'opacity 0.3s ease-out, visibility 0.3s ease-out', + backgroundColor: 'rgba(0, 0, 0, 0.3)', + } + }, []) : undefined, ]) } |