Resolve issue #1911 (Additional margin/padding present in nested lists)

Optionally we could consider removing the rule at line 274. This doesn't handle multiple layers of nested lists and would be better covered by the generic rule which checks for an `ol` or `ul` nested inside a `li` which is how MarkDown renders nested lists as HTML.
This commit is contained in:
Mikey O'Toole 2020-02-20 14:25:23 +00:00 committed by GitHub
parent 01b95d91ba
commit 65c4985710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -295,6 +295,13 @@ li.checkbox-item, li.task-list-item {
} }
} }
li > ol, li > ul {
margin-block-end: 0px;
margin-block-start: 0px;
padding-block-end: 0px;
padding-block-start: 0px;
}
/* /*
* Generic text styling classes * Generic text styling classes
*/ */