Fix list item spacing issue

List items had both top and bottom margin, and it caused some inconsistent spacing for lists inside post content. This updates fixes the issue by only assigning top margin on list items except the first one.
refs: #787
This commit is contained in:
Sodbileg Gansukh
2021-03-29 10:52:15 +08:00
parent e34e2e3e0a
commit 0d49da97a2
5 changed files with 8 additions and 5 deletions

View File

@ -345,11 +345,14 @@ ol {
}
li {
margin: 0.5em 0;
padding-left: 0.3em;
line-height: 1.6em;
}
li + li {
margin-top: 0.5em;
}
dt {
float: left;
margin: 0 20px 0 0;