make print better

This commit is contained in:
Wingy 2019-12-03 17:15:26 -05:00
parent 9cea7697a8
commit 79f0d3c993

View file

@ -182,17 +182,15 @@ block content
block print block print
h1 #{req.params.user}'s Wishlist h1 #{req.params.user}'s Wishlist
each item, index in wishlist.filter(item => item.addedBy === req.params.user) .print-gifts
.print-gift each item, index in wishlist.filter(item => item.addedBy === req.params.user)
if index > 0 .print-gift(style='page-break-inside: avoid;')
hr(style='background-color: black;') hr(style='margin-top: .5em; margin-bottom: .5em; background-color: black;')
.columns span.is-size-5.ugc= item.name
.column.is-4 span= ' '
span.is-block.is-size-4.ugc= item.name span.is-size-6.ugc.has-text-grey= item.url
span.is-block.is-size-5.ugc.has-text-grey= item.url span.is-block.is-size-6 Added by: #{item.addedBy}
.column if item.note
span.is-block.is-size-5 Added by: #{item.addedBy} br
if item.note .box
br span.is-block.is-size-5.ugc= item.note
.box
span.is-block.is-size-5.ugc= item.note