pull/349/head
Pete Matsyburka 1 year ago
parent d0c49ac04c
commit 1dac3fe434

@ -46,7 +46,7 @@
<%= svg_icon('check', class: "aspect-square #{area['w'] > area['h'] ? '!w-auto !h-full' : '!w-full !h-auto'}") %>
</div>
<% end %>
<% elsif field['type'] == 'cells' && area['cell_w'] %>
<% elsif field['type'] == 'cells' && area['cell_w'].to_f > 0.0 %>
<% cell_width = area['cell_w'] / area['w'] * 100 %>
<div class="w-full flex items-center">
<% (0..(area['w'] / area['cell_w']).ceil).each do |index| %>

Loading…
Cancel
Save