Fix long item names overflowing

This commit is contained in:
Wingysam 2018-11-23 18:04:24 -05:00
parent 0117e0aebe
commit 062911f277
2 changed files with 5 additions and 1 deletions

View file

@ -18,6 +18,10 @@
margin-left: 0 !important; margin-left: 0 !important;
} }
.overflowWrap {
overflow-wrap: break-word;
}
ul.noStyle li { ul.noStyle li {
list-style-type: none; list-style-type: none;
} }

View file

@ -4,7 +4,7 @@ block content
each item, index in wishlist each item, index in wishlist
if req.user._id === item.addedBy || req.params.user !== req.user._id if req.user._id === item.addedBy || req.params.user !== req.user._id
.box .box
span span.overflowWrap
if item.url if item.url
a(href=item.url, rel='noopener noreferrer', target='_blank')= (item.name ? item.name : item.url) a(href=item.url, rel='noopener noreferrer', target='_blank')= (item.name ? item.name : item.url)
else else