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;
|
counter-reset: item;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol li {
|
ol > li {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol li:before {
|
ol > li:before {
|
||||||
content: counter(item);
|
content: counter(item);
|
||||||
counter-increment: item;
|
counter-increment: item;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
@ -584,7 +584,7 @@ object {
|
|||||||
counter-reset: item;
|
counter-reset: item;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rtl ol li:before {
|
.rtl ol > li:before {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: -1.5em;
|
right: -1.5em;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user