Commit 0ab4cae8bd7e17d887d44ca8246be130f34cf4d3

Authored by Rafael Manzo
1 parent 8383eb8f

Fixes accordion height broken by the updates

app/assets/stylesheets/bootstrap_and_overrides.css
@@ -41,3 +41,7 @@ footer div { @@ -41,3 +41,7 @@ footer div {
41 .popover-title{ 41 .popover-title{
42 font-weight: bolder; 42 font-weight: bolder;
43 } 43 }
  44 +
  45 +.jquery-ui-accordion{
  46 + line-height: normal; /*overrides h3 line-height specifically for the accordion ones*/
  47 +}
app/views/compound_metric_configurations/_created_metrics.html.erb
1 <div id="created-metrics-accordion"> 1 <div id="created-metrics-accordion">
2 - <h3> Created Metrics </h3> 2 + <h3 class="jquery-ui-accordion"> Created Metrics </h3>
3 <div> 3 <div>
4 <table class="table table-hover"> 4 <table class="table table-hover">
5 <thead> 5 <thead>
app/views/metric_configurations/choose_metric.html.erb
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 9
10 <div id="base-tool-accordion"> 10 <div id="base-tool-accordion">
11 <% @base_tools.each do |base_tool| %> 11 <% @base_tools.each do |base_tool| %>
12 - <h3><%= base_tool.name %></h3> 12 + <h3 class="jquery-ui-accordion"><%= base_tool.name %></h3>
13 <div> 13 <div>
14 <% base_tool.supported_metrics.each do |metric| %> 14 <% base_tool.supported_metrics.each do |metric| %>
15 <%= link_to metric.name, '#', onclick: "BaseTool.choose_metric(\"#{metric.name}\", \"#{base_tool.name}\");", remote: true %><br> 15 <%= link_to metric.name, '#', onclick: "BaseTool.choose_metric(\"#{metric.name}\", \"#{base_tool.name}\");", remote: true %><br>
app/views/repositories/show.html.erb
@@ -48,17 +48,17 @@ @@ -48,17 +48,17 @@
48 48
49 <div id="repository-accordion"> 49 <div id="repository-accordion">
50 <div id="processing-accordion"> 50 <div id="processing-accordion">
51 - <h3>Processing information</h3> 51 + <h3 class="jquery-ui-accordion">Processing information</h3>
52 <div id="processing_information"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div> 52 <div id="processing_information"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div>
53 </div> 53 </div>
54 54
55 <div id="module-accordion"> 55 <div id="module-accordion">
56 - <h3>Modules Tree</h3> 56 + <h3 class="jquery-ui-accordion">Modules Tree</h3>
57 <div id="module_tree"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div> 57 <div id="module_tree"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div>
58 </div> 58 </div>
59 - 59 +
60 <div id="metric-accordion"> 60 <div id="metric-accordion">
61 - <h3>Metric Results</h3> 61 + <h3 class="jquery-ui-accordion">Metric Results</h3>
62 <div id="metric_results"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div> 62 <div id="metric_results"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</div>
63 </div> 63 </div>
64 </div> 64 </div>