]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7116 No way to scroll down when searching for a component
authorStas Vilchik <vilchiks@gmail.com>
Wed, 3 Feb 2016 17:17:41 +0000 (18:17 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 3 Feb 2016 17:17:41 +0000 (18:17 +0100)
server/sonar-web/src/main/js/main/nav/global/global-nav-search.js
server/sonar-web/src/main/less/components/navbar.less

index d335a3b716e35d7c4533002dacdbab8e6e4e5a67..4e2df1883e9bd69ba82e6f5b6ba3bfb61ea7356b 100644 (file)
@@ -99,7 +99,7 @@ export default React.createClass({
           <a className="navbar-search-dropdown" href="#" onClick={this.onClick}>
             <i className="icon-search navbar-icon"/>&nbsp;<i className="icon-dropdown"/>
           </a>
-          <div ref="container" className="dropdown-menu dropdown-menu-right"></div>
+          <div ref="container" className="dropdown-menu dropdown-menu-right global-navbar-search-dropdown"></div>
         </li>
     );
   }
index f87f861de38d0abc0c486a497b83626075ded98a..72baf5cb9914b843e00a8536064e21e2265cae5e 100644 (file)
   border-bottom: 1px solid @barBorderColor;
   background-color: #e5f1f9;
 }
+
+
+.global-navbar-search-dropdown {
+  max-height: 80vh;
+  overflow-y: auto;
+  overflow-x: hidden;
+}