Twenty Seventeen: Remove unnecessary `ol` styles from editor.

Twenty Seventeen was designed with bolded numbers for its ordered list styles. This was removed from the theme prior to launch, but it was left in the editor styles, so it needed to be removed there, too.

Props mmaumio, edpittol.
Fixes #44775.


Built from https://develop.svn.wordpress.org/branches/5.0@44203


git-svn-id: http://core.svn.wordpress.org/branches/5.0@44033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
laurelfulford 2018-12-15 11:15:14 +00:00
parent 362b7a42cf
commit 22a50196d7
2 changed files with 1 additions and 18 deletions

View File

@ -232,23 +232,10 @@ ul {
list-style: disc; list-style: disc;
} }
ol {
counter-reset: item;
}
ol > li { ol > li {
display: block;
position: relative; position: relative;
} }
ol > li:before {
content: counter(item);
counter-increment: item;
font-weight: 800;
left: -1.5em;
position: absolute;
}
li > ul, li > ul,
li > ol { li > ol {
margin-bottom: 0; margin-bottom: 0;
@ -580,10 +567,6 @@ object {
text-align: right; text-align: right;
} }
.rtl ol {
counter-reset: item;
}
.rtl ol > li:before { .rtl ol > li:before {
left: auto; left: auto;
right: -1.5em; right: -1.5em;

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0.2-alpha-44202'; $wp_version = '5.0.2-alpha-44203';
/** /**
* 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.