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:
parent
0fdbb80962
commit
4c0f827946
@ -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…
x
Reference in New Issue
Block a user