File tree 3 files changed +15
-12
lines changed
shared/components/breadcrumbs
3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 1
1
@import ' variables' ;
2
2
3
3
.main-content {
4
- padding-top : $navbar-total-height ;
5
4
opacity : 1 ;
6
5
7
6
& .navigating {
Original file line number Diff line number Diff line change 2
2
3
3
:host {
4
4
display : block ;
5
- position : fixed ;
6
5
top : 0 ;
7
6
left : 0 ;
8
7
right : 0 ;
Original file line number Diff line number Diff line change 6
6
7
7
.breadcrumbs {
8
8
width : 100% ;
9
- overflow-y : hidden ;
10
- overflow-x : auto ;
11
- padding : 5px 10px ;
12
- white-space : nowrap ;
13
- -webkit-overflow-scrolling : touch ;
14
- user-select : none ;
15
- height : $breadcrumb-height ;
16
9
display : flex ;
17
- align-items : center ;
10
+ flex-wrap : wrap ;
11
+ white-space : normal ;
12
+ overflow : visible ;
13
+ min-width : 0 ;
18
14
}
19
15
20
16
pr-breadcrumb {
21
- display : inline-block ;
17
+ display : flex ;
18
+ flex : 0 1 auto ;
19
+ min-width : 0 ; // ✅ allow shrinking in flex layout
22
20
color : white ;
21
+ white-space : normal ;
22
+ word-break : break-word ;
23
+ overflow-wrap : anywhere;
23
24
24
25
@include after ($tablet-horizontal ) {
25
26
padding : 0.25rem 0 ;
@@ -28,6 +29,11 @@ pr-breadcrumb {
28
29
a {
29
30
color : white ;
30
31
text-decoration : none ;
32
+
33
+ display : inline ;
34
+ white-space : normal ;
35
+ word-break : break-word ;
36
+ overflow-wrap : anywhere;
31
37
}
32
38
33
39
.current {
@@ -64,7 +70,6 @@ pr-breadcrumb {
64
70
.breadcrumbs-large {
65
71
@include desktop {
66
72
font-size : $large-size ;
67
- height : 2 * $grid-unit ;
68
73
}
69
74
}
70
75
You can’t perform that action at this time.
0 commit comments