From a3da548cc46753a74348eb32ae24f49985b88803 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 21 Jun 2021 23:38:31 +0000 Subject: [PATCH] Twenty Thirteen: Improve the display of the Query Loop block. This fixes an issue where Query Loop blocks were displayed with list bullets and extra `padding-left`. Props AlePerez92, scruffian, ryelle. Fixes #53438. git-svn-id: https://develop.svn.wordpress.org/trunk@51192 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentythirteen/css/editor-blocks.css | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/wp-content/themes/twentythirteen/css/editor-blocks.css b/src/wp-content/themes/twentythirteen/css/editor-blocks.css index 98a0b6b909..8daa0b0915 100644 --- a/src/wp-content/themes/twentythirteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentythirteen/css/editor-blocks.css @@ -78,8 +78,8 @@ Description: Used to style blocks in the editor. /* List styles */ -.edit-post-visual-editor ul:not(.wp-block-gallery), -.editor-block-list__block ul:not(.wp-block-gallery), +.edit-post-visual-editor ul:not(.wp-block-gallery):not(.wp-block-post-template), +.editor-block-list__block ul:not(.wp-block-gallery):not(.wp-block-post-template), .block-library-list ul, .edit-post-visual-editor ol, .editor-block-list__block ol, @@ -88,8 +88,8 @@ Description: Used to style blocks in the editor. padding: 0; } -.edit-post-visual-editor ul:not(.wp-block-gallery), -.edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery), +.edit-post-visual-editor ul:not(.wp-block-gallery):not(.wp-block-post-template), +.edit-post-visual-editor .editor-block-list__block ul:not(.wp-block-gallery):not(.wp-block-post-template), .block-library-list ul { list-style-type: square; } @@ -117,10 +117,10 @@ Description: Used to style blocks in the editor. margin-bottom: 0; } -.editor-styles-wrapper ul.block-editor-block-list__block, -.editor-styles-wrapper ol.block-editor-block-list__block, -.editor-styles-wrapper ol ul:not(.wp-block-gallery), -.editor-styles-wrapper ul ul:not(.wp-block-gallery), +.editor-styles-wrapper ul.block-editor-block-list__block:not(.wp-block-post-template), +.editor-styles-wrapper ol.block-editor-block-list__block:not(.wp-block-post-template), +.editor-styles-wrapper ol ul:not(.wp-block-gallery):not(.wp-block-post-template), +.editor-styles-wrapper ul ul:not(.wp-block-gallery):not(.wp-block-post-template), .editor-styles-wrapper ul ol, .editor-styles-wrapper ol ol, .wp-block-freeform.block-library-rich-text__tinymce ul, @@ -128,10 +128,10 @@ Description: Used to style blocks in the editor. padding: 0 0 0 40px; } -.rtl .editor-styles-wrapper ul.block-editor-block-list__block, -.rtl .editor-styles-wrapper ol.block-editor-block-list__block, -.rtl .editor-styles-wrapper ol ul:not(.wp-block-gallery), -.rtl .editor-styles-wrapper ul ul:not(.wp-block-gallery), +.rtl .editor-styles-wrapper ul.block-editor-block-list__block:not(.wp-block-post-template), +.rtl .editor-styles-wrapper ol.block-editor-block-list__block:not(.wp-block-post-template), +.rtl .editor-styles-wrapper ol ul:not(.wp-block-gallery):not(.wp-block-post-template), +.rtl .editor-styles-wrapper ul ul:not(.wp-block-gallery):not(.wp-block-post-template), .rtl .editor-styles-wrapper ul ol, .rtl .editor-styles-wrapper ol ol, .rtl .wp-block-freeform.block-library-rich-text__tinymce ul,