Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different indentation for ordered and unordered lists #21

Closed
pwsiegel opened this issue May 29, 2018 · 1 comment
Closed

Different indentation for ordered and unordered lists #21

pwsiegel opened this issue May 29, 2018 · 1 comment

Comments

@pwsiegel
Copy link

pwsiegel commented May 29, 2018

Hello,
First of all: I love the theme, and I appreciate all of the hard work that went into it!

My only qualm is with the way ordered lists are displayed - they sort of hang off the left edge of the paragraph, whereas unordered lists are slightly inset as I would expect. You can see an example of both in this post: https://pwsiegel.github.io/ds/info-theory-basics/.

It is possible that this behavior is intended, in which case feel free to close this issue. But if someone could point me to the CSS that controls the unordered lists so that I could replicate them in my own config, I would greatly appreciate it!

(I found ol and ol li in the CSS folder, but these settings don't appear to account for the difference.)

@askadu
Copy link

askadu commented May 30, 2018

Yes i can see the left padding is different for ol and ul
ul { list-style-position: inside; list-style: disc; padding-left: 20px; }

ol { list-style-position: inside; list-style: decimal; padding-left: 3px; }

Before screen shot (Desktop)
jekyll_before

After fix screen shot (Desktop)
jekyll_after

we can see after fixing the ordered list is properly aligned.

@askadu askadu mentioned this issue May 30, 2018
benbalter added a commit that referenced this issue May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants