Skip to content

Commit 235faff

Browse files
committed
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
1 parent 26fad95 commit 235faff

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/wp-content/themes/twentytwenty/style-rtl.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4330,6 +4330,12 @@ div.comment:first-of-type {
43304330

43314331
/* Widget: Text ------------------------------ */
43324332

4333+
/* Widget: Blocks ---------------------------- */
4334+
4335+
.widget .wp-block-social-links li {
4336+
margin-top: 0;
4337+
}
4338+
43334339

43344340
/* -------------------------------------------------------------------------- */
43354341

src/wp-content/themes/twentytwenty/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4366,6 +4366,12 @@ div.comment:first-of-type {
43664366

43674367
/* Widget: Text ------------------------------ */
43684368

4369+
/* Widget: Blocks ---------------------------- */
4370+
4371+
.widget .wp-block-social-links li {
4372+
margin-top: 0;
4373+
}
4374+
43694375

43704376
/* -------------------------------------------------------------------------- */
43714377

0 commit comments

Comments
 (0)