aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-02-13 09:34:38 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2013-02-13 09:34:38 +0100
commitbeadf9fb81449360bf38cef4ae15152676fe004b (patch)
treecd2fe1e944c08814e0088640173b3c2c0233bade /sonar-server
parentd8c3e901204013aec5c4fa0d4cc02eebb2928383 (diff)
downloadsonarqube-beadf9fb81449360bf38cef4ae15152676fe004b.tar.gz
sonarqube-beadf9fb81449360bf38cef4ae15152676fe004b.zip
SONAR-4129 add padding to trend icons
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css3
2 files changed, 4 insertions, 1 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 06ee266c772..eee3e619126 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
@@ -392,7 +392,7 @@ module ApplicationHelper
when 1
filename+= '-green'
end
- image_tag("trend/#{filename}#{size}.png", :width => pixels, :height => pixels, :alt => '')
+ image_tag("trend/#{filename}#{size}.png", :width => pixels, :height => pixels, :alt => '', :class => 'trendIcon')
end
#
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index 3c52c31b223..726c42625d5 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -1498,6 +1498,9 @@ option.sev_BLOCKER {
/* worst */
color: #cc0000 !important;
}
+.trendIcon {
+ padding: 0 2px;
+}
/* ------------------- HELP ------------------- */
.help {