Skip to content

Commit 84c9f8c

Browse files
Andrea Barbassoatarix83
authored andcommitted
Merged in task/ux-plus-cris-2024_02_x/UXP-271 (pull request #69)
[UXP-271] set break-all on carousel titles Approved-by: Francesco Molinaro Approved-by: Giuseppe Digilio
2 parents 4a5887e + 3e0ed1e commit 84c9f8c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/shared/carousel/carousel.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
<div class="carousel-caption" *ngIf="item.indexableObject.metadata">
3232
<div class="carousel-caption-inner">
33-
<h1 data-test="carouselObjTitle" [class]="carouselOptions.titleStyle" class="h3"
33+
<h1 data-test="carouselObjTitle" [class]="carouselOptions.titleStyle" class="h3 break-all"
3434
*ngIf="item.indexableObject.metadata[title]">
3535
{{ item.indexableObject.metadata[title][0].value }}</h1>
3636
<div data-test="carouselObjDesc" class="carousel-caption-text pr-3 pl-2"

src/app/shared/carousel/carousel.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,8 @@
105105
border-bottom-left-radius: 0.25rem;
106106
}
107107

108+
.break-all {
109+
word-break: break-all;
110+
}
111+
108112
}

0 commit comments

Comments
 (0)