downsize mobile wishlist pfps

This commit is contained in:
Wingy 2021-11-29 12:13:16 -05:00
parent 9e6149c57e
commit 230f92face

View file

@ -6,9 +6,9 @@ block content
li li
a(href=`${_CC.config.base}wishlist/${req.user._id}`) a(href=`${_CC.config.base}wishlist/${req.user._id}`)
.box .box
.columns .columns.is-mobile
if config.pfp if config.pfp
.column.is-1(style='overflow: hidden;') .column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;') figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;')
img.is-rounded.is-fullwidth(src=req.user.pfp, style='object-fit: cover;') img.is-rounded.is-fullwidth(src=req.user.pfp, style='object-fit: cover;')
.column .column
@ -20,9 +20,9 @@ block content
li li
a(href=`${_CC.config.base}wishlist/${user.id}`) a(href=`${_CC.config.base}wishlist/${user.id}`)
.box .box
.columns .columns.is-mobile
if config.pfp if config.pfp
.column.is-1(style='overflow: hidden;') .column.is-1(style='overflow: hidden; padding: 0 0.5rem 0 0;')
figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;') figure.image.is-square.is-fullwidth.is-marginless(style='display: inline-block;')
img.is-rounded.is-fullwidth(src=user.doc.pfp, style='object-fit: cover;') img.is-rounded.is-fullwidth(src=user.doc.pfp, style='object-fit: cover;')
.column .column