]> source.dussan.org Git - sonarqube.git/commitdiff
New Issues Page: fix the case when component name is too long
authorStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 09:27:20 +0000 (15:27 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 6 Feb 2014 09:30:38 +0000 (15:30 +0600)
sonar-server/src/main/webapp/javascripts/navigator/issues.js

index 4b73bcd7a24f9f71ec4cfc438746be46aa87c906..79a5edcc69fa7c5f7526aa76ab33be3ba82ae7e3 100644 (file)
@@ -805,6 +805,12 @@ jQuery(function() {
     },
 
 
+    onDomRefresh: function() {
+      var sourceTitleHeight = this.$('.source_title').outerHeight();
+      jQuery('.navigator-details').css('padding-top', (sourceTitleHeight + 10) + 'px');
+    },
+
+
     onClose: function() {
       if (this.ruleRegion) {
         this.ruleRegion.reset();