Skip to content

Commit 75a1833

Browse files
author
Andrea Barbasso
committed
[DSC-2227] fix item-search-result-list-element overflowing with long words
1 parent 74c17e7 commit 75a1833

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="row">
1+
<div class="row word-break">
22
<div *ngIf="showThumbnails" class="col-3 col-xl-2 pr-sm-0">
33
<a *ngIf="linkType != linkTypes.None" [target]="(linkType == linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType == linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
44
[routerLink]="[itemPageRoute]" class="dont-break-out">

src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
cursor: pointer;
1010
}
1111
}
12+
13+
.word-break {
14+
word-break: break-word;
15+
}

0 commit comments

Comments
 (0)