Skip to content

Commit 56c866a

Browse files
committed
Fix breadcrumb styles for pages with no table of contents
1 parent a52a2ad commit 56c866a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

static/breadcrumb.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
color: lighten(@gray, 10%);
99
.breadcrumb-dropdown {
1010
display: none;
11-
padding: @gutter @gutter/4;
1211
position: relative;
1312
color: lighten(@gray, 10%);
1413
a {
@@ -43,6 +42,7 @@
4342
li {
4443
display: inline-block;
4544
list-style: none;
45+
padding: @gutter @gutter/4;
4646
a {
4747
color: white;
4848
font-size: 14px;

templates/breadcrumb.mustache

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
{{#with (getCurrent)}}
77
<li><a href="{{urlTo name}}">{{getShortTitle .}}</a></li>
88
{{/with}}
9-
<li> / </li>
10-
<li class="breadcrumb-dropdown"><a> On this page</a>
9+
<li class="breadcrumb-dropdown">
10+
/
11+
<a> On this page</a>
1112
<ul class="on-this-page"></ul>
1213
</li>
1314
<div class="nav-toggle" title="Back to top"></div>

0 commit comments

Comments
 (0)