Skip to content

Commit 6f6e7da

Browse files
Andrea Barbassovins01-4science
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-2227 (pull request DSpace#2922)
[DSC-2227] fix item-search-result-list-element overflowing with long words Approved-by: Francesco Molinaro
2 parents 1f1cfc5 + 34ce94a commit 6f6e7da

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)