]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5820 Fix scrolling issues
authorStas Vilchik <vilchiks@gmail.com>
Tue, 23 Dec 2014 15:57:10 +0000 (16:57 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 23 Dec 2014 16:36:47 +0000 (17:36 +0100)
server/sonar-web/src/main/js/coding-rules/rule-details-view.js
server/sonar-web/src/main/less/coding-rules.less
server/sonar-web/src/main/less/components/search-navigator.less

index 2fa6378a677d20a38dc39e0768952a09f9d3dd6b..2e41d7663fa03d42f3850aa15d852506095cab37 100644 (file)
@@ -40,6 +40,7 @@ define([
         model: this.model,
         collection: new Backbone.Collection(this.getQualityProfiles())
       }));
+      this.$el.scrollParent().scrollTop(30);
     },
 
     onClose: function () {
index 295a1854e5626f9fbff2e76f6d1afef88545b969..ec2e6440afeabc14aad4f0d77c57c6aa3f8bda86 100644 (file)
@@ -64,7 +64,7 @@
 }
 
 .coding-rules-detail-header {
-  margin-bottom: 0;
+  margin: 0;
   padding-right: 100px;
   font-size: 18px;
 }
@@ -399,7 +399,7 @@ textarea.coding-rules-markdown-description {
 .coding-rules-detail-custom-rule-key {
   display:inline-block;
   max-width: 460px;
-  whitespace: nowrap;
+  white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }
index e3ea4d51e1b60399fd862321fd169fbc1fa13742..de18e6d1451c5ad3c07188a6f8da9087c1f17de9 100644 (file)
       z-index: 4;
       top: 0;
       left: @sideWidth;
-      right: 0px;
+      right: 0;
     }
 
-    .search-navigator-workspace-list {
+    .search-navigator-workspace-list,
+    .search-navigator-workspace-details {
       padding-top: 22px + 5px + 5px + 1px + 10px;
     }
 
 
 .search-navigator-workspace-details {
   display: none;
+  min-height: 100vh;
   padding: 0 10px;
 }