Fix long item names overflowing
This commit is contained in:
parent
0117e0aebe
commit
062911f277
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue