Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#32507 new enhancement

Admin notices remove styling of lists

Reported by: sciamannikoo's profile sciamannikoo Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.2
Component: Administration Keywords:
Focuses: ui, administration Cc:

Description

Create an admin notice which contains an unordered or odered list and you will see that the list has no bullets or numbers.

This is because the notice inherit list-style-type:none.

Change History (2)

#1 @helen
9 years ago

I've always found this awkward, and am not sure why it was done this way or where it comes from. Could be an interesting history to trace. I'm also not sure this is something that could be changed in general without a lot of angst, and just adding it for notices is a little too specific and makes it even harder to understand the "why" of what we did later on. For the time being, you can use the ul-disc or ul-square classes for an easier workaround than writing your own CSS.

#2 @sciamannikoo
9 years ago

Nice workaround: thanks!

Note: See TracTickets for help on using tickets.