aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/menu-droppo.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-09-05 06:55:14 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-09-05 06:57:43 +0800
commit75c3009f839f94a19830673673f4b9ac25342633 (patch)
tree2420c6c282bfd562cac8ed9d6f5e8867d6494002 /ui/app/components/menu-droppo.js
parent9213789c44beaf4bf734bc6192dc646d706d5c44 (diff)
downloadtangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.gz
tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.zst
tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.zip
Fix header style; Address comments
Diffstat (limited to 'ui/app/components/menu-droppo.js')
-rw-r--r--ui/app/components/menu-droppo.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/menu-droppo.js b/ui/app/components/menu-droppo.js
index 2f173544e..95b75f54c 100644
--- a/ui/app/components/menu-droppo.js
+++ b/ui/app/components/menu-droppo.js
@@ -13,6 +13,7 @@ function MenuDroppoComponent () {
}
MenuDroppoComponent.prototype.render = function () {
+ const { containerClassName = '' } = this.props
const speed = this.props.speed || '300ms'
const useCssTransition = this.props.useCssTransition
const zIndex = ('zIndex' in this.props) ? this.props.zIndex : 0
@@ -26,8 +27,9 @@ MenuDroppoComponent.prototype.render = function () {
style.zIndex = zIndex
return (
- h('.menu-droppo-container', {
+ h('div', {
style,
+ className: `.menu-droppo-container ${containerClassName}`,
}, [
h('style', `
.menu-droppo-enter {