Skip to content

Commit be970b8

Browse files
committed
Re-enable markdown table of contents.
1 parent d1cbdbb commit be970b8

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

javascripts/style-helpers.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
$(document).ready(function () {
22
// Make <dl>s more visually separated
33
$('dl').addClass('dl-horizontal');
4-
})
4+
$('#markdown-toc').wrap('<div class="well pull-right" />');
5+
$('#markdown-toc').addClass('list-unstyled');
6+
})

stylesheets/bootstrap-extensions.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ h1.panel-title {
103103
height: 25px;
104104
}
105105

106-
#markdown-toc {
107-
display: none;
108-
}
109-
110106
.alert span.glyphicon {
111107
margin-right: 8px;
112108
}
@@ -128,11 +124,11 @@ h1.panel-title {
128124
max-width: 350px;
129125
}
130126

131-
.inline-screenshot.pull-right {
127+
.pull-right {
132128
margin-left: 20px;
133129
}
134130

135-
.inline-screenshot.pull-left {
131+
.pull-left {
136132
margin-right: 20px;
137133
}
138134

0 commit comments

Comments
 (0)