diff --git a/ui/components/app/dropdowns/network-dropdown.js b/ui/components/app/dropdowns/network-dropdown.js index 4dd785874..7838a9864 100644 --- a/ui/components/app/dropdowns/network-dropdown.js +++ b/ui/components/app/dropdowns/network-dropdown.js @@ -338,20 +338,23 @@ class NetworkDropdown extends Component { ) : null} - {this.renderNetworkEntry('mainnet')} - {this.renderCustomRpcList(rpcListDetail, this.props.provider)} +
+ {this.renderNetworkEntry('mainnet')} -
- {this.renderNetworkEntry('ropsten')} - {this.renderNetworkEntry('kovan')} - {this.renderNetworkEntry('rinkeby')} - {this.renderNetworkEntry('goerli')} - {this.renderNetworkEntry('localhost')} + {this.renderCustomRpcList(rpcListDetail, this.props.provider)} + +
+ {this.renderNetworkEntry('ropsten')} + {this.renderNetworkEntry('kovan')} + {this.renderNetworkEntry('rinkeby')} + {this.renderNetworkEntry('goerli')} + {this.renderNetworkEntry('localhost')} +
{this.renderAddCustomButton()} diff --git a/ui/css/itcss/components/network.scss b/ui/css/itcss/components/network.scss index f7355fc1b..8772f1c38 100644 --- a/ui/css/itcss/components/network.scss +++ b/ui/css/itcss/components/network.scss @@ -128,6 +128,12 @@ width: 100%; } +.network-dropdown-list { + max-height: 330px; + overflow-y: auto; + margin-bottom: 8px; +} + .network-dropdown-divider { width: 100%; height: 1px;