]> source.dussan.org Git - sonarqube.git/commitdiff
fix rendering issue of the rules widget on Google Chrome/Safari
authorsimonbrandhof <simon.brandhof@gmail.com>
Tue, 9 Nov 2010 10:36:39 +0000 (10:36 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Tue, 9 Nov 2010 10:36:39 +0000 (10:36 +0000)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/rules.html.erb

index 84b09712b3573cd821cfc73d767dacac709e6cb4..ed5aa6e43da0caaab94d3d55274deb62abce4e3e 100644 (file)
@@ -56,6 +56,7 @@
                            <div class="big">
                              <%= format_measure(Metric::VIOLATIONS, :url => url_for(:controller => 'drilldown', :action => 'violations', :id => @project.key)) -%> <%= tendency_icon(Metric::VIOLATIONS) -%>
                            </div>
+                         </div>
                        <%
                        blocker_violations = @snapshot.measure(Metric::BLOCKER_VIOLATIONS)
                        critical_violations = @snapshot.measure(Metric::CRITICAL_VIOLATIONS)
@@ -67,7 +68,7 @@
                                max = m.value if m and m.value and m.value>max
                        end
                        %>
-                           <table>
+                           <table class="clear width100">
                              <tr>
                                <td><%= image_tag 'priority/BLOCKER.png'%></td>
                                <td> &nbsp;<%= link_to 'Blocker', {:controller => 'drilldown', :action => 'violations', :id => @project.key, :priority => 'BLOCKER'} %></td>
                                </td>
                              </tr>
                            </table>
-                         </div>
            </td>
          </tr>
     </table>