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:
parent
4e5f7fce43
commit
75677ccb20
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user