1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Make account selection dropdown menu scrollable when too large for view

This commit is contained in:
sdtsui 2017-07-26 12:43:18 -07:00
parent 0fdbb80962
commit 4c0f827946

View File

@ -59,6 +59,8 @@ class AccountDropdowns extends Component {
style: {
marginLeft: '-125px',
minWidth: '180px',
overflowY: 'auto',
maxHeight: '300px',
},
isOpen: accountSelectorActive,
onClickOutside: () => { this.setState({ accountSelectorActive: false }) },