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.

git-svn-id: https://develop.svn.wordpress.org/trunk@50359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-16 19:09:55 +00:00
parent 686448dde2
commit 5334a8dcca
2 changed files with 8 additions and 1 deletions

View File

@ -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;
}

View File

@ -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
/* ------------------------------------------- */