diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-05 06:55:14 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-05 06:57:43 +0800 |
commit | 75c3009f839f94a19830673673f4b9ac25342633 (patch) | |
tree | 2420c6c282bfd562cac8ed9d6f5e8867d6494002 /ui/app/components/menu-droppo.js | |
parent | 9213789c44beaf4bf734bc6192dc646d706d5c44 (diff) | |
download | tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.gz tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.bz2 tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.lz tangerine-wallet-browser-75c3009f839f94a19830673673f4b9ac25342633.tar.xz 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.js | 4 |
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 { |