From bf76fae0ee972c5e2039f293e7b9f2e012f678c5 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 6 Feb 2014 15:27:20 +0600 Subject: [PATCH] New Issues Page: fix the case when component name is too long --- .../src/main/webapp/javascripts/navigator/issues.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sonar-server/src/main/webapp/javascripts/navigator/issues.js b/sonar-server/src/main/webapp/javascripts/navigator/issues.js index 4b73bcd7a24..79a5edcc69f 100644 --- a/sonar-server/src/main/webapp/javascripts/navigator/issues.js +++ b/sonar-server/src/main/webapp/javascripts/navigator/issues.js @@ -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(); -- 2.39.5