gristlabs / mkdocs-windmill

Outstanding mkdocs theme with a focus on navigation and usability
Other
106 stars 62 forks source link

Extra space on indented lists #42

Open warm-bagel opened 4 years ago

warm-bagel commented 4 years ago

Hello! Love the windmill theme.

One bug I noticed: In Markdown, I type:

- list
    - a
    - b
- next list
    - c

When rendered into my wiki, there is more space between - list and - a than there is between - b and - next list. Which doesn't seem right. It throws off the look when you are trying to show organization and the separation (if any) should be between - b and - next list.

dsagal commented 4 years ago

This doesn't seem to be an issue with the theme. I am not seeing it for your specific example (assuming regular paragraphs before and after and no extra CSS).

The reason for strange spacing could be with markdown wrapping list items into a

element. This https://daringfireball.net/projects/markdown/syntax#list mentions:

If list items are separated by blank lines, Markdown will wrap the items in

tags in the HTML output.

If you have any additional CSS rules for ul or li elements (custom or from an external library), those could be another culprit.