diff --git a/views/wishlist.pug b/views/wishlist.pug index 2ed04c9..bb30abf 100644 --- a/views/wishlist.pug +++ b/views/wishlist.pug @@ -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 \ No newline at end of file