From 6814e213c756bc303998f25b9b3d66fdfd51c4ce Mon Sep 17 00:00:00 2001 From: Alex Basson Date: Thu, 23 Sep 2021 13:11:13 -0400 Subject: [PATCH] Format measure graph partial --- app/views/dashboard/_measure_bar_graph.erb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/dashboard/_measure_bar_graph.erb b/app/views/dashboard/_measure_bar_graph.erb index 99dcff45..74adf4cd 100644 --- a/app/views/dashboard/_measure_bar_graph.erb +++ b/app/views/dashboard/_measure_bar_graph.erb @@ -1,7 +1,7 @@ -
+
<% heading_gutter = 30 %> - <% footer_gutter = 50 %> + <% footer_gutter = 50 %> <% measure_row_height = 40 %> <% graph_height = measure_graph_row_presenters.length * measure_row_height + heading_gutter + footer_gutter %> <% graph_background_height = graph_height - footer_gutter %> @@ -12,16 +12,16 @@ - + - + - - + + @@ -41,7 +41,7 @@ opacity="0.2" filter="url(#inset-shadow)"/> opacity="0.2" filter="url(#inset-shadow)"/> - + @@ -54,13 +54,13 @@ width="75%"> <%= measure_graph_row_presenters.each_with_index do |presenter, index| %> - width="<%= presenter.bar_width %>" height=<%= measure_row_bar_height %> fill=<%= presenter.bar_color %> /> + fill=<%= presenter.bar_color %> /> <% end %> - >Benchmark + Benchmark -
+