Skip to content

Commit

Permalink
feat: Wrapping ASCOR benchmarks chart at metric styles
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Nov 22, 2023
1 parent 8e58eb8 commit ea2e053
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/assets/stylesheets/tpi/_ascor-benchmarks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
.ascor-benchmarks {
height: 500px;
margin-top: 24px;
margin-inline: 80px;
.highcharts-graph {
stroke-width: 4px !important;
}
Expand Down
4 changes: 3 additions & 1 deletion app/views/tpi/ascor/_assessment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
<% if ascor_sub_indicators_for(area, indicators).present? %>
<%= render 'tpi/ascor/assessment_indicators', area: area, indicators: ascor_sub_indicators_for(area, indicators), metrics: metrics %>
<% if area.code == 'EP.2' %>
<%= render 'tpi/ascor/benchmarks_chart' %>
<div class="country-assessment__metric-block">
<%= render 'tpi/ascor/benchmarks_chart' %>
</div>
<% end %>
<% else %>
<%= render 'tpi/ascor/assessment_metrics', metrics: ascor_sub_indicators_for(area, metrics) %>
Expand Down

0 comments on commit ea2e053

Please sign in to comment.