mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
cells align
This commit is contained in:
1 parent
5340af0bc6
commit
29fbdfbe2f
4 files changed
+16
-6
No files matched your search
@@ -50,7 +50,7 @@
|
||||
<% end %>
|
||||
<% 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">
|
||||
<div class="w-full flex items-center <%= 'justify-end' if align == 'right' %>">
|
||||
<% (0..(area['w'] / area['cell_w']).ceil).each do |index| %>
|
||||
<% if value[index] %>
|
||||
<div class="text-center flex-none" style="width: <%= cell_width %>%;"><%= value[index] %></div>
|
||||
|
||||
Reference in new issue
Block a user