aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/account-dropdowns.js10
-rw-r--r--ui/app/components/dropdown.js3
2 files changed, 4 insertions, 9 deletions
diff --git a/ui/app/components/account-dropdowns.js b/ui/app/components/account-dropdowns.js
index d1d319477..61f32f713 100644
--- a/ui/app/components/account-dropdowns.js
+++ b/ui/app/components/account-dropdowns.js
@@ -59,6 +59,8 @@ class AccountDropdowns extends Component {
style: {
marginLeft: '-125px',
minWidth: '180px',
+ overflowY: 'auto',
+ maxHeight: '300px',
},
isOpen: accountSelectorActive,
onClickOutside: () => { this.setState({ accountSelectorActive: false }) },
@@ -120,14 +122,6 @@ class AccountDropdowns extends Component {
DropdownMenuItem,
{
closeMenu: () => {},
- onClick: () => actions.showConfigPage(),
- },
- 'Account Settings',
- ),
- h(
- DropdownMenuItem,
- {
- closeMenu: () => {},
onClick: () => {
const { selected, network } = this.props
const url = genAccountLink(selected, network)
diff --git a/ui/app/components/dropdown.js b/ui/app/components/dropdown.js
index e77b4c40c..70ed388f4 100644
--- a/ui/app/components/dropdown.js
+++ b/ui/app/components/dropdown.js
@@ -7,7 +7,7 @@ const noop = () => {}
class Dropdown extends Component {
render () {
- const { isOpen, onClickOutside, style, children } = this.props
+ const { isOpen, onClickOutside, style, innerStyle, children } = this.props
return h(
MenuDroppo,
@@ -21,6 +21,7 @@ class Dropdown extends Component {
padding: '8px 16px',
background: 'rgba(0, 0, 0, 0.8)',
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px',
+ ...innerStyle,
},
},
[