From 235faff315ec800290d0e2cbbc9d780c3a134843 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 14 Sep 2022 21:33:01 +0000 Subject: [PATCH] Twenty Twenty: Fix Social Links widget alignment. This fixes an alignment issue with the Social Links block used in the context of a widget area. Props grandeljay, sabernhardt. Fixes #56474. git-svn-id: https://develop.svn.wordpress.org/trunk@54167 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 6 ++++++ src/wp-content/themes/twentytwenty/style.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index c101569225..9d164e8f4d 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -4330,6 +4330,12 @@ div.comment:first-of-type { /* Widget: Text ------------------------------ */ +/* Widget: Blocks ---------------------------- */ + +.widget .wp-block-social-links li { + margin-top: 0; +} + /* -------------------------------------------------------------------------- */ diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 246038500a..03968d6155 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -4366,6 +4366,12 @@ div.comment:first-of-type { /* Widget: Text ------------------------------ */ +/* Widget: Blocks ---------------------------- */ + +.widget .wp-block-social-links li { + margin-top: 0; +} + /* -------------------------------------------------------------------------- */