File tree Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 62
62
</ ul >
63
63
<!-- some categories have no maptopics, only articles -->
64
64
{% else %}
65
- < ul class ="sidebar-articles list-style-none ">
65
+ < ul class ="sidebar-articles my-2 ">
66
66
{% for article in category[1].articles %}
67
67
{% unless article[1].hidden %}
68
68
{% capture fullPathToArticle %}{{article[1].href}}{% endcapture %}
69
69
{% if article[1].shortTitle %}{% assign articleTitle = article[1].shortTitle %}{% else %}{% assign articleTitle = article[1].title %}{% endif %}
70
70
< li class ="sidebar-article {% if breadcrumbs.article.href == article[1].href %}active {% if currentPath == fullPathToArticle %}is-current-page{% endif %}{% endif %} ">
71
- < a href ="{{fullPathToArticle}} " class ="pl-4 pr-5 py-1{% if forloop.last %} pb-2{% endif %} color-text-primary "> {{ articleTitle }}</ a >
71
+ < a href ="{{fullPathToArticle}} " class ="pl-6 pl- 4 pr-5 py-1{% if forloop.last %} pb-2{% endif %} color-text-primary "> {{ articleTitle }}</ a >
72
72
</ li >
73
73
{% endunless %}
74
74
{% endfor %}
Original file line number Diff line number Diff line change 37
37
// as the browsers are still working on supporting that combination
38
38
}
39
39
40
- .sidebar-maptopic {
41
- .sidebar-article {
42
- position : relative ;
40
+ .sidebar-article {
41
+ position : relative ;
43
42
44
- & ::before {
45
- content : " " ;
46
- position : absolute ;
47
- left : $spacer-4 ;
48
- height : 100% ;
49
- border-left : 1px solid var (--color-text-primary );
50
- width : 1px ;
51
- top : 0 ;
52
- }
43
+ & ::before {
44
+ content : " " ;
45
+ position : absolute ;
46
+ left : $spacer-4 ;
47
+ height : 100% ;
48
+ border-left : 1px solid var (--color-text-primary );
49
+ width : 1px ;
50
+ top : 0 ;
51
+ }
53
52
54
- & .active {
55
- & ::before {
56
- border-left : 3px solid var (--color-text-primary );
57
- }
53
+ & .active {
54
+ & ::before {
55
+ border-left : 3px solid var (--color-text-primary );
58
56
}
59
57
}
60
58
}
61
59
60
+ .is-current-page > a {
61
+ font-weight : bolder ;
62
+ }
63
+
62
64
// only display child lists of active elements in sidebar
63
65
.sidebar-product.active > ul ,
64
66
.sidebar-category.active > ul ,
You can’t perform that action at this time.
0 commit comments