themes icon indicating copy to clipboard operation
themes copied to clipboard

Social Icons in Sidebar are Misaligned on Certain Themes

Open masperber opened this issue 2 years ago • 3 comments

Quick summary

On certain Classic and Hybrid theme, the first Social Icon in a Social Icons Block will be misalgined with the other. So far, this has been identified and reproduced on themes Independent Publisher 2 and Baskerville 2

Steps to reproduce

  1. Create a site with one of the affected themes.
  2. Add a Social Icons Block to the Sidebar and add at least 2 Social Icons to the block.

What you expected to happen

The Social Icons should all be aligned

What actually happened

The first social icon is raised up higher than the others.

Screen Shot 2022-09-08 at 3 41 42 PM

Context

Customer report: 35563675-hc

Reproduced on a test site.

Platform (Simple, Atomic, or both?)

Simple, Atomic

Theme-specific issue?

Independent Publisher 2 and Baskerville 2. Other themes may be affected, but haven't been identified yet.

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

All

Available workarounds?

No but the platform is still usable

Workaround details

No response

masperber avatar Sep 08 '22 19:09 masperber

  • [ ] 5543483-zen for followup

masperber avatar Sep 08 '22 20:09 masperber

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 5543483-zen
  • [ ] 6067409-zen

github-actions[bot] avatar Sep 08 '22 20:09 github-actions[bot]

📌 HOUSEKEEPING

  • Labels ✅
  • Priority ✅
  • Replicable on Core - No(this varies because not all themes are on WordPress.org)

📌 SCRUBBING

  • Tested on P2 ✅
  • Tested on Simple ✅
  • Tested on AT ✅
  • Tested on Self-hosted - no

📌 FINDINGS/SCREENSHOTS/VIDEO

  • I can confirm these classic themes mentioned above have this problem.
  • I tried replicating with others, such as Dara, Karuna or Ixion, but no dice
  • The social icons block also behaves erratically on other themes. Example(Libre 2, Revelar or Textbook): RiSGpE.png

@jeffikus could this be addressed in bulk as a component review only for the social icons widget?

📌 ACTIONS

  • Marked as Triaged for Themes
  • Transferred to https://github.com/Automattic/themes/

Robertght avatar Sep 09 '22 12:09 Robertght

More on this, Lovecraft has a similar issue as well. A temporary fix is to use this CSS code:

.footer-widgets .wp-block-social-links li {
    padding: 0;
}

Robertght avatar Nov 15 '22 13:11 Robertght

Another one on Lovecraft #6067409-zd they are on the free plan, so they can't use the CSS workaround

carolframen avatar Mar 27 '23 19:03 carolframen

Also reported in https://wordpress.com/forums/topic/social-icons-misshaped/?view=all and confirmed on my test site. Screenshot of what I see:

Screen Shot 2023-05-08 at 2 34 44 PM

This CSS worked for me as a temporary fix for the site owner:

.widget:not(.widget_text) ul li {
    padding: 0;
}

jerrysarcastic avatar May 08 '23 21:05 jerrysarcastic