Skip to content

Commit

Permalink
Merge pull request #1265 from ehuss/part-title-active
Browse files Browse the repository at this point in the history
Fix sidebar scrolling with part titles.
  • Loading branch information
ehuss authored Jul 3, 2020
2 parents 9eba9ed + e9951af commit 8432df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/html_handlebars/helpers/toc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl HelperDef for RenderToc {

// Part title
if let Some(title) = item.get("part") {
out.write("<li class=\"part-title active\">")?;
out.write("<li class=\"part-title\">")?;
out.write(title)?;
out.write("</li>")?;
continue;
Expand Down

0 comments on commit 8432df1

Please sign in to comment.