]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4927 Fix vertical alignment of conditions in QG widget
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Tue, 29 Apr 2014 15:41:12 +0000 (17:41 +0200)
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>
Tue, 29 Apr 2014 15:41:12 +0000 (17:41 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/alerts.html.erb

index 0b1c505466f0c59257db034997c7b12915e32a0a..53dfe584b3e5b602a6b045008643a0c881b9e91a 100644 (file)
@@ -40,7 +40,7 @@
 
       unless level == 'OK' && !widget_properties['show_ok']
       -%>
-      <div class="dashbox" style="margin: 10px">
+      <div class="dashbox" style="margin: 10px; vertical-align: baseline">
         <p class="title"><%= condition_metric.short_name -%></p>
         <span class="big"><%= format_measure(actual_measure, :url => drilldown_url) -%></span>
         <% if level == 'WARN' -%><%= operator -%> <%= format_measure(warning_measure) -%><% end -%>