File tree 2 files changed +16
-2
lines changed
theme/pydata_sphinx_theme/components
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,28 @@ ul.bd-breadcrumbs {
5
5
list-style : none ;
6
6
padding-left : 0 ;
7
7
display : flex ;
8
- flex-wrap : wrap ;
8
+ flex-wrap : nowrap ;
9
9
10
10
// Font size slightly smaller to avoid cluttering up space too much
11
11
font-size : 0.8rem ;
12
12
13
13
li .breadcrumb-item {
14
14
display : flex ;
15
15
align-items : baseline ;
16
+ white-space : nowrap ;
17
+ flex-shrink : 0 ;
18
+
19
+ & .active {
20
+ flex-shrink : 1 ;
21
+ min-width : 0 ;
22
+ overflow-x : hidden ;
23
+ .ellipsis {
24
+ flex-shrink : 1 ;
25
+ min-width : 0 ;
26
+ overflow-x : hidden ;
27
+ text-overflow : ellipsis ;
28
+ }
29
+ }
16
30
17
31
// Style should look like heavier in-page links
18
32
// keeping visited in the default link colour
Original file line number Diff line number Diff line change 25
25
< li class ="breadcrumb-item "> {{ doc.title }}</ li >
26
26
{% endif %}
27
27
{%- endfor %}
28
- < li class ="breadcrumb-item active " aria-current ="page "> {{ title|truncate(15, False) }} </ li >
28
+ < li class ="breadcrumb-item active " aria-current ="page "> < span class =" ellipsis " > {{ title }} </ span > </ li >
29
29
</ ul >
30
30
</ nav >
31
31
{% endif %}
You can’t perform that action at this time.
0 commit comments