Fix sidebar line-height. (#1182)

This commit is contained in:
Eric Huss 2020-04-03 12:09:23 -07:00 committed by GitHub
parent 769cc0a7c1
commit e839ef0866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ fn write_li_open_tag(
is_expanded: bool,
is_affix: bool,
) -> Result<(), std::io::Error> {
let mut li = String::from("<li class=\"");
let mut li = String::from("<li class=\"chapter-item ");
if is_expanded {
li.push_str("expanded ");
}

View File

@ -423,7 +423,7 @@ ul#searchresults span.teaser em {
display: none;
}
.chapter li.expanded {
.chapter li.chapter-item {
line-height: 1.5em;
margin-top: 0.6em;
}