make print better
This commit is contained in:
parent
9cea7697a8
commit
79f0d3c993
1 changed files with 12 additions and 14 deletions
|
@ -182,17 +182,15 @@ block content
|
|||
|
||||
block print
|
||||
h1 #{req.params.user}'s Wishlist
|
||||
each item, index in wishlist.filter(item => item.addedBy === req.params.user)
|
||||
.print-gift
|
||||
if index > 0
|
||||
hr(style='background-color: black;')
|
||||
.columns
|
||||
.column.is-4
|
||||
span.is-block.is-size-4.ugc= item.name
|
||||
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
|
||||
br
|
||||
.box
|
||||
span.is-block.is-size-5.ugc= item.note
|
||||
.print-gifts
|
||||
each item, index in wishlist.filter(item => item.addedBy === req.params.user)
|
||||
.print-gift(style='page-break-inside: avoid;')
|
||||
hr(style='margin-top: .5em; margin-bottom: .5em; background-color: black;')
|
||||
span.is-size-5.ugc= item.name
|
||||
span= ' '
|
||||
span.is-size-6.ugc.has-text-grey= item.url
|
||||
span.is-block.is-size-6 Added by: #{item.addedBy}
|
||||
if item.note
|
||||
br
|
||||
.box
|
||||
span.is-block.is-size-5.ugc= item.note
|
Loading…
Reference in a new issue