From 95094becee963a44df2acc1bdfa60ceb60fa0b05 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 16 Feb 2021 19:11:05 +0000 Subject: [PATCH] Twenty Twenty: Make sure the RTL list styles are preserved after `npm run build`. Adjust the padding value for better consistency. Props desrosj, sabernhardt, ryelle, mukesh27. Fixes #52401. Built from https://develop.svn.wordpress.org/trunk@50359 git-svn-id: http://core.svn.wordpress.org/trunk@49970 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentytwenty/assets/css/editor-style-block-rtl.css | 2 +- .../themes/twentytwenty/assets/css/editor-style-block.css | 7 +++++++ wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index be90b267e7..488f8226fe 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -1081,7 +1081,7 @@ hr.wp-block-separator.is-style-dots::before { .editor-styles-wrapper ol.block-editor-block-list__block, .editor-styles-wrapper ul ul, .editor-styles-wrapper ol ul { - padding-right: 2em; + padding-right: 1.3em; } diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 1e334a4f07..66e662628e 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -1077,6 +1077,13 @@ hr.wp-block-separator.is-style-dots::before { /* 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-left: 1.3em; +} + /* X. Media Queries /* ------------------------------------------- */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 40d1ba7955..88f18180d7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta2-50358'; +$wp_version = '5.7-beta2-50359'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.