diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-07-29 17:15:26 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-07-29 17:15:26 +0200 |
commit | 9284bd172a6b665bbbaadd5ec7580441617d99cd (patch) | |
tree | c2ce27fb0d1a49e1bf8ddbb2e9e6494bf6170b23 | |
parent | a3ce51c43bdb2e684dfc863e9e9f4435238ec206 (diff) | |
download | sonarqube-9284bd172a6b665bbbaadd5ec7580441617d99cd.tar.gz sonarqube-9284bd172a6b665bbbaadd5ec7580441617d99cd.zip |
SONAR-5482 The list of languages in the "Size" widget can be too long on views
Reduce the max width of bars to prevent measures overlapping
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb index 8ea173543c5..0c49c2deaac 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/size.html.erb @@ -49,7 +49,7 @@ <%= ncloc.format_numeric_value(language_ncloc) %> </td> <td> - <%= barchart(:width => 70, :percent => (40 * Math.sqrt(language_ncloc.to_i) / max).to_i) %> + <%= barchart(:width => 50, :percent => (40 * Math.sqrt(language_ncloc.to_i) / max).to_i) %> </td> </tr> <% end %> |