cntrump / hugo-notepadium

a fast gohugo theme, 100% JavaScript-free.
https://examplesite.lvv.me/
MIT License
332 stars 125 forks source link

`<li>` margins don't look natural #118

Closed shanehou closed 3 years ago

shanehou commented 3 years ago

Hugo Version: v0.83.1 Build Command: hugo server -D

The <li> style is a bit strange: when li+li has a 20px margin-top, why does the first child has 0px margin-top? The nested <li> would look like this:

image

See? When nested, the margin is not consistent. The better style in my opinion should be:

image

Or:

image

cntrump commented 3 years ago

Fixed: https://github.com/cntrump/hugo-notepadium/pull/120