Commit c197e14d authored by Brett Walker's avatar Brett Walker

Adjust bottom margin for loose markdown lists

Changelog: fixed
parent d16bec0b
...@@ -365,10 +365,17 @@ ...@@ -365,10 +365,17 @@
padding: 0; padding: 0;
margin: 0 0 16px; margin: 0 0 16px;
// Lists embedded in other lists can be "loose" or "tight"
// Remove bottom margin for all lists (default for tight lists)
ul, ul,
ol { ol {
margin-bottom: 0; margin-bottom: 0;
} }
// Loose lists need bottom margin added back
p ~ ol,
p ~ ul {
margin-bottom: 16px; }
} }
ul:dir(rtl), ul:dir(rtl),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment