23

The answer here has a numbered list in it.

This is the markdown:

1. one
2. two
3. three

But in the post that gets boring:

  1. one
  2. two
  3. three

Funny enough the HTML looks okay, but for CSS rules we only seem to get a default from Stacks:

Inspecting the ol tag shows a CSS rule of list-style: none for both the ol and ul elements.

and no additional CSS style is added to give that list its numbers back. Are you maybe missing a list-ls-decimal class on the <ol> element?

Do note that in the Mobile view the numbered list still works. So be careful if you have a regression somewhere.

Can you please count to 6 and 8 while you look where that CSS rule went missing? If you have found it would you be kind enough to restore it in its former glory?

5
  • 2
    Can confirm: affects multiple users: me.
    – Levente
    Jun 7, 2021 at 17:26
  • 4
    This isn't just a problem on meta. I just wrote a post on Webmasters and couldn't get list formatting to work in it. Jun 7, 2021 at 17:30
  • 1
    In addition to the missing bullets and numbering, the indentation is also gone. Jun 7, 2021 at 17:32
  • 3
    @StephenOstermiller yeah, I'm pretty confident it is broken across all sites. At least that means only one fix is needed ....
    – rene
    Jun 7, 2021 at 17:33
  • 13
    Just tracked this one down. On it! Jun 7, 2021 at 17:44

1 Answer 1

12

Ok, this is all fixed up. Thanks for posting it! This was related to some removal of "unused" CSS. Just a bit of housecleaning.

Here's the related issue over on Stacks. Basically, we have some list resets that exist in Stack Overflow production, but this is definitely something we'd want to move to Stacks. Heck, I thought it was already there, and hence, the list styling getting busted today.

Y'all can take it out of my paycheck 😛

5
  • 4
    Wait... you get a paycheck?? 😈 Jun 7, 2021 at 19:10
  • 4
    Not after this stunt I pulled today, @BenjaminHodgson Jun 7, 2021 at 19:12
  • Just a tiny correction for your benefit: workplace.stackexchange.com/q/47260
    – Levente
    Jun 7, 2021 at 20:01
  • 5
    We're completely joking, @Levente. I don't get out of bed for less than $20k/day 😛 Jun 7, 2021 at 21:13
  • Sounds way better! ;)
    – Levente
    Jun 7, 2021 at 21:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .