Skip to content

Commit 446d390

Browse files
committed
wrap long texts without spaces
1 parent bfa9376 commit 446d390

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

src/app/shared/components/breadcrumbs/breadcrumbs.component.scss

+14-5
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@
66

77
.breadcrumbs {
88
width: 100%;
9-
flex-wrap: wrap;
10-
white-space: normal;
11-
overflow-x: visible;
12-
overflow-y: visible;
139
display: flex;
14-
align-items: center;
10+
flex-wrap: wrap;
11+
white-space: normal;
12+
overflow: visible;
13+
min-width: 0;
1514
}
1615

1716
pr-breadcrumb {
1817
display: flex;
18+
flex: 0 1 auto;
19+
min-width: 0; // ✅ allow shrinking in flex layout
1920
color: white;
21+
white-space: normal;
22+
word-break: break-word;
23+
overflow-wrap: anywhere;
2024

2125
@include after($tablet-horizontal) {
2226
padding: 0.25rem 0;
@@ -25,6 +29,11 @@ pr-breadcrumb {
2529
a {
2630
color: white;
2731
text-decoration: none;
32+
33+
display: inline;
34+
white-space: normal;
35+
word-break: break-word;
36+
overflow-wrap: anywhere;
2837
}
2938

3039
.current {

0 commit comments

Comments
 (0)