Fix sidebar line-height. (#1182)
This commit is contained in:
parent
769cc0a7c1
commit
e839ef0866
|
@ -191,7 +191,7 @@ fn write_li_open_tag(
|
||||||
is_expanded: bool,
|
is_expanded: bool,
|
||||||
is_affix: bool,
|
is_affix: bool,
|
||||||
) -> Result<(), std::io::Error> {
|
) -> Result<(), std::io::Error> {
|
||||||
let mut li = String::from("<li class=\"");
|
let mut li = String::from("<li class=\"chapter-item ");
|
||||||
if is_expanded {
|
if is_expanded {
|
||||||
li.push_str("expanded ");
|
li.push_str("expanded ");
|
||||||
}
|
}
|
||||||
|
|
|
@ -423,7 +423,7 @@ ul#searchresults span.teaser em {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chapter li.expanded {
|
.chapter li.chapter-item {
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
margin-top: 0.6em;
|
margin-top: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue