mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 10:09:47 +01:00
Twenty Seventeen: Fixes ul inside ol being wrongly ordered.
Now the listing displays correctly. Props tg29359, Soean, laurelfulford, davidakennedy Fixes #38515 Built from https://develop.svn.wordpress.org/trunk@39079 git-svn-id: http://core.svn.wordpress.org/trunk@39021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9510f68efa
commit
2b611c2b1d
@ -33,15 +33,6 @@ textarea {
|
|||||||
padding-right: 3px;
|
padding-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
|
||||||
counter-reset: item;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol li:before {
|
|
||||||
left: auto;
|
|
||||||
right: -1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
li > ul,
|
li > ul,
|
||||||
li > ol {
|
li > ol {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
@ -1091,20 +1091,7 @@ ul {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ol {
|
ol {
|
||||||
counter-reset: item;
|
list-style: decimal;
|
||||||
}
|
|
||||||
|
|
||||||
ol li {
|
|
||||||
display: block;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol li:before {
|
|
||||||
content: counter(item) ".";
|
|
||||||
counter-increment: item;
|
|
||||||
font-weight: 600;
|
|
||||||
left: -1.5em;
|
|
||||||
position: absolute;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
li > ul,
|
li > ul,
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-beta1-39078';
|
$wp_version = '4.7-beta1-39079';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user