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

<li> padding cuts off '.' for lists longer than 9 items. #24

Open
adworacz opened this issue Dec 6, 2020 · 4 comments
Open

<li> padding cuts off '.' for lists longer than 9 items. #24

adworacz opened this issue Dec 6, 2020 · 4 comments

Comments

@adworacz
Copy link

adworacz commented Dec 6, 2020

Messing around with it, the padding value seems to be set here:

padding-left: 20px

I'm not sure if that's the best place to fix this, but I figure it's more important to make the bug report right now.

Here's an example image of list items that have more than 10 items:
2020-12-05_21:59:05_maim

@Keats
Copy link
Collaborator

Keats commented Dec 6, 2020

Ah that's annoying. If you manage to fix it, I'll take a PR

@adworacz
Copy link
Author

adworacz commented Dec 7, 2020

I'm a little rusty on my web dev skills, but is imply increasing the padding-left value to something like 30px the right answer here? Or is there some other magical trick that actually creates an even amount of spacing no matter how many digits are in the list?

@Keats
Copy link
Collaborator

Keats commented Dec 7, 2020

hmm I'll try locally in a bit (unless your site is live somewhere and I can just do it in the console)

@adworacz
Copy link
Author

adworacz commented Dec 7, 2020

I do have a live site up that demonstrates this issue - note that I manually changed the padding-left value locally as a rough attempt at fixing the issue. The distance between the 1-9 and 10+ numbers is noticeable though, and I'm not sure how to solve that.

Here you go: https://austindw.com/openwrt-router-setup/#setting-up-sqm

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