From 5def66daa039a71f02880c792c0908222dc9745d Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <desrosj@git.wordpress.org> Date: Thu, 24 Jun 2021 23:21:26 +0000 Subject: [PATCH] Twenty Twenty: Remove extra margin within the Query Loop block. Props ryelle, Clorith. See #53482. git-svn-id: https://develop.svn.wordpress.org/trunk@51231 602fd350-edb4-49c9-b593-d223f7449a82 --- .../twentytwenty/assets/css/editor-style-block-rtl.css | 6 ++++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 6 ++++++ src/wp-content/themes/twentytwenty/style-rtl.css | 8 ++++++++ src/wp-content/themes/twentytwenty/style.css | 8 ++++++++ 4 files changed, 28 insertions(+) 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 8589a297c0..fe56bd3389 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 @@ -1084,6 +1084,12 @@ hr.wp-block-separator.is-style-dots::before { padding-right: 1.3em; } +/* Block: Post Template ---------------- */ + +.editor-styles-wrapper ul.wp-block-post-template { + padding-right: 0; +} + /* 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 86c63577b2..1fac49c182 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 @@ -1084,6 +1084,12 @@ hr.wp-block-separator.is-style-dots::before { padding-left: 1.3em; } +/* Block: Post Template ---------------- */ + +.editor-styles-wrapper ul.wp-block-post-template { + padding-left: 0; +} + /* X. Media Queries /* ------------------------------------------- */ diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index a2b49aaee4..54a09f040e 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -3444,6 +3444,14 @@ figure.wp-block-table.is-style-stripes { margin-top: 0; } +/* Block: Post Template ---------------- */ + +.wp-block-post-template, +.wp-block-post-template > li { + margin-right: 0; + margin-left: 0; +} + /* -------------------------------------------------------------------------- */ diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index f6d5d9ec92..4a74a356b4 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -3466,6 +3466,14 @@ figure.wp-block-table.is-style-stripes { margin-top: 0; } +/* Block: Post Template ---------------- */ + +.wp-block-post-template, +.wp-block-post-template > li { + margin-left: 0; + margin-right: 0; +} + /* -------------------------------------------------------------------------- */