Skip to content

Business intelligence made simple

Fixed margin

Andrew Kane344faa3045d9
diff --git a/app/views/blazer/queries/run.html.erb b/app/views/blazer/queries/run.html.erb
index 2b390b22..b779d648 100644
--- a/app/views/blazer/queries/run.html.erb
+++ b/app/views/blazer/queries/run.html.erb
@@ -24,7 +24,9 @@
<% end %>
</p>
<% end %>
- <p class="text-muted" style="margin-bottom: 0;">
+ <% margin_bottom = 0 %>
+ <% margin_bottom = 15 if @rows.any? && (@result.chart_type == "scatter" || (blazer_maps? && @markers.any?)) %>
+ <p class="text-muted" style="margin-bottom: <%= margin_bottom %>px;">
<%= pluralize(@rows.size, "row") %>
<% @checks.select(&:state).each do |check| %>