Twenty Seventeen: Fixes ul inside ol being wrongly ordered.

Now the listing displays correctly.

Props tg29359, Soean, laurelfulford, davidakennedy
Fixes #38515



git-svn-id: https://develop.svn.wordpress.org/trunk@39079 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2016-11-01 20:52:22 +00:00
parent 4e5f7fce43
commit 75677ccb20
2 changed files with 1 additions and 23 deletions

View File

@ -33,15 +33,6 @@ textarea {
padding-right: 3px;
}
ol {
counter-reset: item;
}
ol li:before {
left: auto;
right: -1.5em;
}
li > ul,
li > ol {
margin-left: 0;

View File

@ -1091,20 +1091,7 @@ ul {
}
ol {
counter-reset: item;
}
ol li {
display: block;
position: relative;
}
ol li:before {
content: counter(item) ".";
counter-increment: item;
font-weight: 600;
left: -1.5em;
position: absolute;
list-style: decimal;
}
li > ul,