lib/karafka/web/pro/ui/views/topics/distribution/_chart.erb in karafka-web-0.9.1 vs lib/karafka/web/pro/ui/views/topics/distribution/_chart.erb in karafka-web-0.10.0.beta1
- old
+ new
@@ -1,2 +1,4 @@
<% data = { 'Estimated count': @distribution.map { [_1.partition_id, _1.count] } }.to_json %>
-<%== partial 'shared/charts/bar', locals: { data: data, id: 'distribution' } %>
+<div class="mb-5">
+ <%== partial 'shared/charts/bar', locals: { data: data, id: 'distribution' } %>
+</div>