Twenty Seventeen: Correct list item style for nested unordered lists.
Props macbookandrew, audrasjb. Fixes #44109. git-svn-id: https://develop.svn.wordpress.org/trunk@43493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
121215092c
commit
a8b83cf91a
@ -236,12 +236,12 @@ ol {
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
ol li {
|
||||
ol > li {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
ol > li:before {
|
||||
content: counter(item);
|
||||
counter-increment: item;
|
||||
font-weight: 800;
|
||||
@ -584,7 +584,7 @@ object {
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
.rtl ol li:before {
|
||||
.rtl ol > li:before {
|
||||
left: auto;
|
||||
right: -1.5em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user