Skip to content

Commit 8358dbc

Browse files
committed
Add small vertical cut marks on outside edges
1 parent a8e3304 commit 8358dbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/views/admin/tokens/_cut_marks.html.erb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,11 @@
3737
<div class="cut-mark h" style="top: <%= y %>mm; right: 0mm;"></div>
3838
<div class="cut-mark h short" style="top: <%= y %>mm; left: <%= page_centre_x - 1 %>mm;"></div>
3939
<% end %>
40+
41+
<%# Vertical marks along left, center, and right columns at row positions %>
42+
<% y_positions.each do |y| %>
43+
<% x_positions.each do |x| %>
44+
<div class="cut-mark v short" style="top: <%= y - 1 %>mm; left: <%= x %>mm;"></div>
45+
<% end %>
46+
<% end %>
4047
</div>

0 commit comments

Comments
 (0)