From 1e06d3511de59e2378deefbaf1825329c5b8f9d1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 6 Nov 2020 11:36:14 +0000 Subject: [PATCH] Twenty Twenty: Correctly indent nested unordered lists in RTL editor styles. Props sabernhardt. Fixes #51574. git-svn-id: https://develop.svn.wordpress.org/trunk@49510 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentytwenty/assets/css/editor-style-block-rtl.css | 9 ++++++++- .../twentytwenty/assets/css/editor-style-block.css | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 9b9a607b64..39def30bd3 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -1073,7 +1073,14 @@ hr.wp-block-separator.is-style-dots::before { width: 100%; } -/* Block: Paragraph -------------------------- */ +/* Block: List ------------------------------- */ + +.editor-styles-wrapper ul.block-editor-block-list__block, +.editor-styles-wrapper ol.block-editor-block-list__block, +.editor-styles-wrapper ul ul, +.editor-styles-wrapper ol ul { + padding-right: 2em; +} /* X. Media Queries diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index f17d36a977..e6e1d39b21 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -1073,7 +1073,7 @@ hr.wp-block-separator.is-style-dots::before { width: 100%; } -/* Block: Paragraph -------------------------- */ +/* Block: List ------------------------------- */ /* X. Media Queries