Merge "Adjust line-height/padding for ToC items for better wrapping"

isekai
jenkins-bot 6 years ago committed by Gerrit Code Review
commit 80bb5817f0

@ -562,17 +562,29 @@ ul#filetoc,
min-width: 15em;
}
ul#filetoc {
display: block;
border: 0;
}
.toc {
line-height: 1.2;
.toc ul {
ul {
margin: 1em 0 0;
list-style: none;
text-align: left;
}
li {
margin: 0.3em 0;
&:last-child {
margin-bottom: 0.5em;
}
}
}
ul#filetoc {
display: block;
border: 0;
}
.mw-body .toc h2 {
font-size: 1em;
font-family: @fonts;
@ -585,10 +597,6 @@ ul#filetoc {
float: right;
}
.toc li:last-child {
margin-bottom: 0.5em;
}
.toclevel-1 {
margin-bottom: 0.25em;
}

Loading…
Cancel
Save