mojombo/github-flavored-markdown

Nested lists have an unwelcome margin-top when parent item not raw text

aGHz opened this issue · 2 comments

aGHz commented

For example, this list renders perfectly:

  • foo
    • bar
      • baz
      • zoo
    • and so
      • on

But this list does not:

  • foo
    • bar, the enclosing UL has a specific margin-top: 0
    • baz is bolded
      • margin-top problem here, there is no specific margin-top on the enclosing UL so it inherits a 15px margin

It seems to be fixed, unless I'm misunderstanding the issue. If it is fixed, could you mark the issue as closed?

aGHz commented

Indeed, it seems to look good.