Make account selection dropdown menu scrollable when too large for view

feature/default_network_editable
sdtsui 7 years ago
parent 0fdbb80962
commit 4c0f827946
  1. 2
      ui/app/components/account-dropdowns.js

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

Loading…
Cancel
Save