aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-03 08:50:27 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-03 08:50:27 +0800
commitc312f341199b8d05e7e78c4203d7953bdf5a184e (patch)
tree1fe1025e552792b33b883fd0c3548dc7b6814daf /ui/app/app.js
parent8a39ef03c298f846171173c38912d3386d688af2 (diff)
downloadtangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.gz
tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.tar.zst
tangerine-wallet-browser-c312f341199b8d05e7e78c4203d7953bdf5a184e.zip
Move overlay out of transition area
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js35
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,
])
}