From a8b83cf91a4876e1bd2eaf2bb4b0f344b4a66b7f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 17 Jul 2018 16:34:57 +0000 Subject: [PATCH] Twenty Seventeen: Correct list item style for nested unordered lists. Props macbookandrew, audrasjb. Fixes #44109. git-svn-id: https://develop.svn.wordpress.org/trunk@43493 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/editor-style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css index 5c1137347e..dd929f867b 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/src/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; }