aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb4
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb4
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css5
3 files changed, 4 insertions, 9 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
index 2ceb3aec9c9..9dadd00f5ec 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
@@ -381,7 +381,7 @@ module ApplicationHelper
pixels = 10
end
if m.nil? || m.tendency.nil? || m.tendency==0
- return options[:empty] ? image_tag("trend/0#{size}.png", :class => 'trendIcon', :alt => '') : nil
+ return options[:empty] ? image_tag("trend/0#{size}.png", :width => pixels, :height => pixels, :alt => '') : nil
end
filename = m.tendency.to_s
@@ -393,7 +393,7 @@ module ApplicationHelper
when 1
filename+= '-green'
end
- image_tag("trend/#{filename}#{size}.png", :alt => '', :class => 'trendIcon')
+ image_tag("trend/#{filename}#{size}.png", :alt => '', :width => pixels, :height => pixels)
end
#
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb
index 8eb0ab137e4..14e18b37495 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb
@@ -40,9 +40,9 @@ module MeasuresHelper
if column.period
format_variation(measure, :index => column.period, :style => 'light')
elsif column.metric.numeric?
- format_measure(measure) + ' ' + trend_icon(measure, :empty => true)
+ format_measure(measure) + ' ' + trend_icon(measure, :empty => true)
else
- format_measure(measure) + ' '
+ format_measure(measure) + ' '
end
elsif column.key=='name'
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index 51901543a31..064a8e31164 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -1501,11 +1501,6 @@ option.sev_BLOCKER {
/* worst */
color: #cc0000 !important;
}
-.trendIcon {
- padding: 0;
- width: 10px;
- height: 10px;
-}
/* ------------------- HELP ------------------- */
.help {