Skip to content

Commit

Permalink
Twenty Thirteen: Improve the display of the Query Loop block.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
desrosj committed Jun 21, 2021
1 parent 422d301 commit a3da548
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/wp-content/themes/twentythirteen/css/editor-blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
}
Expand Down Expand Up @@ -117,21 +117,21 @@ 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,
.wp-block-freeform.block-library-rich-text__tinymce ol {
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,
Expand Down

0 comments on commit a3da548

Please sign in to comment.