From e8b54ed88596f3e1b0d446570888bc6a93f2ddb7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 17 Jul 2018 16:37:25 +0000 Subject: [PATCH] Twenty Seventeen: Correct list item style for nested unordered lists. Props macbookandrew, audrasjb. Merges [43493] to the 4.9 branch. Fixes #44109. Built from https://develop.svn.wordpress.org/branches/4.9@43494 git-svn-id: http://core.svn.wordpress.org/branches/4.9@43321 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyseventeen/assets/css/editor-style.css | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/wp-content/themes/twentyseventeen/assets/css/editor-style.css index 5c1137347e..dd929f867b 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-style.css @@ -236,12 +236,12 @@ ol { counter-reset: item; } -ol li { +ol > li { display: block; position: relative; } -ol li:before { +ol > li:before { content: counter(item); counter-increment: item; font-weight: 800; @@ -584,7 +584,7 @@ object { counter-reset: item; } -.rtl ol li:before { +.rtl ol > li:before { left: auto; right: -1.5em; } diff --git a/wp-includes/version.php b/wp-includes/version.php index c63c34e2ff..c77b650090 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.8-alpha-43492'; +$wp_version = '4.9.8-alpha-43494'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.