Skip to content

Commit

Permalink
set max height for rpc select dropdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Aug 14, 2018
1 parent 2831666 commit 766761d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<span class="dropdown-toggle" data-toggle="dropdown">
<span class="logo-lg-title">AriaNg</span><i class="fa fa-caret-right fa-right-bottom fa-rotate-45 fa-half" aria-hidden="true"></i>
</span>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<ul class="dropdown-menu dropdown-menu-right rpcselect-dropdown" role="menu">
<li ng-repeat="setting in rpcSettings" ng-class="{'active': setting.isDefault}">
<a class="pointer-cursor" ng-click="switchRpcSetting(setting)">
<span ng-bind="(setting.rpcAlias ? setting.rpcAlias : setting.rpcHost + ':' + setting.rpcPort)">RPC</span>
Expand Down
5 changes: 5 additions & 0 deletions src/styles/core/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ td {
cursor: pointer;
}

.main-header .rpcselect-dropdown {
max-height: 200px;
overflow-x: hidden;
}

.main-sidebar {
z-index: 1010;
}
Expand Down

0 comments on commit 766761d

Please sign in to comment.