r/csshelp • • Mar 02 '20

Resolved What's causing numbered lists to get cut off?

Could you take a look at this comment and tell me why this happens when someone posts a numbered list on /r/yandere_simulator?

6 Upvotes

2 comments sorted by

1

u/Zmodem Moderator Mar 02 '20

In your stylesheet, you have this rule block:

.md>ul, .md>ol {
    border: 0!important;
}

Instead of that, you can replace it with either this:

.md>ul,
.md>ol {
    border-left: 4px solid transparent;
}

Or this:

.md>ul,
.md>ol {
    border: none;
    margin-left: 4px;
}

Both of these yield the exact same results, except the latter is considered to be the more logical of the two solutions.

Good luck! :)

1

u/RockVonCleveland Mar 02 '20

Thank you very much!