make print better

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

View file

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