Skip to content

Commit f41352b

Browse files
committed
Administration: Restore list styles inside admin notices. Fixes #32507
1 parent e12ddb3 commit f41352b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/wp-admin/css/common.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,29 @@ div.error.notice-alt {
15871587
background-color: #fff;
15881588
}
15891589

1590+
/* Restore list styles inside admin notices. The global ul { list-style: none }
1591+
* and ul, ol { padding: 0 } resets remove bullets/numbers and indentation. Use
1592+
* margin-left instead of padding-left as padding is zeroed globally. */
1593+
.notice ol,
1594+
div.error ol,
1595+
div.updated ol {
1596+
list-style: decimal outside;
1597+
margin-left: 1.8em;
1598+
}
1599+
1600+
.notice ul,
1601+
div.error ul,
1602+
div.updated ul {
1603+
list-style: disc outside;
1604+
margin-left: 1.8em;
1605+
}
1606+
1607+
.notice li,
1608+
div.error li,
1609+
div.updated li {
1610+
margin: 0 0 0.5em;
1611+
}
1612+
15901613
#plugin-information-footer .update-now:not(.button-disabled):before {
15911614
color: #d63638;
15921615
content: "\f463";

0 commit comments

Comments
 (0)