Commit 7db44754 authored by Simon Knox's avatar Simon Knox

Merge branch '31164-markdown-loose-lists-look-wrong' into 'master'

Markdown loose lists have incorrect bottom margin

See merge request gitlab-org/gitlab!77275
parents 1350874c c197e14d
......@@ -365,10 +365,17 @@
padding: 0;
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,
ol {
margin-bottom: 0;
}
// Loose lists need bottom margin added back
p ~ ol,
p ~ ul {
margin-bottom: 16px; }
}
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