Commit 08dc52f4e8a266818eb4acda9c4d194db38b48ee
Committed by
Paulo Meireles
1 parent
79199a5c
Exists in
master
and in
29 other branches
[Mezuro] module results table now has a fixed relative size in _module_result partial
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
plugins/mezuro/views/mezuro_plugin_module/_module_result.rhtml
... | ... | @@ -2,10 +2,10 @@ |
2 | 2 | |
3 | 3 | <hr/> |
4 | 4 | <div class="zoomable-image"> |
5 | -<table> | |
5 | +<table style="width: 116%"> | |
6 | 6 | <thead> |
7 | 7 | <tr> |
8 | - <th>Metric</th> | |
8 | + <th style="width: 74%">Metric</th> | |
9 | 9 | <th>Value</th> |
10 | 10 | <th>Weight</th> |
11 | 11 | <th>Threshold</th> |
... | ... | @@ -16,7 +16,7 @@ |
16 | 16 | <% range = metric_result.range %> |
17 | 17 | <% if !range.nil? %> |
18 | 18 | <tr> |
19 | - <td><a href="#" show-metric-history="<%= MezuroPlugin::Helpers::ContentViewerHelper.format_name(metric_result) %>" data-module-name="<%= @module.name %>"><%= metric_result.metric.name %></a></td> | |
19 | + <td style="width: 74%"><a href="#" show-metric-history="<%= MezuroPlugin::Helpers::ContentViewerHelper.format_name(metric_result) %>" data-module-name="<%= @module.name %>"><%= metric_result.metric.name %></a></td> | |
20 | 20 | <td><%= MezuroPlugin::Helpers::ContentViewerHelper.format_grade(metric_result.value) %></td> |
21 | 21 | <td><%= metric_result.weight %></td> |
22 | 22 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> | ... | ... |