From 2030705bc57ee44461779b75a5f38009587784dd Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 14 Sep 2022 10:02:10 +0000 Subject: [PATCH] Twenty Twenty: Correctly align Social Icons block in the editor. This changeset resets `padding-left` property for the Social Icons block in the editor. Props umesh84, audrasjb, nidhidhandhukiya, kajalgohel. Fixes #55987. git-svn-id: https://develop.svn.wordpress.org/trunk@54152 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ 2 files changed, 8 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 09645053da..b3c1001c89 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 @@ -1106,6 +1106,10 @@ hr.wp-block-separator.is-style-dots::before { padding-right: 1.3em; } +.editor-styles-wrapper ul.block-editor-block-list__block.wp-block-social-links { + padding-left: 0; +} + /* Block: Post Template ---------------- */ .editor-styles-wrapper ul.wp-block-post-template { 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 0cdb69ce84..2e4474ba1f 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 @@ -1110,6 +1110,10 @@ hr.wp-block-separator.is-style-dots::before { padding-left: 1.3em; } +.editor-styles-wrapper ul.block-editor-block-list__block.wp-block-social-links { + padding-left: 0; +} + /* Block: Post Template ---------------- */ .editor-styles-wrapper ul.wp-block-post-template {