Skip to content

Social Icons: placeholder styles are broken, don't correspond to the real thing #55296

Open
@jsnajdr

Description

Steps to reproduce:

  1. Create an empty Social Icons block, and let it display as a placeholder with three colored icons.
  2. Next to it create another Social Icons block, and populate it with real social icons.

The result will look like this:

Screenshot 2023-10-12 at 11 35 22

The placeholder icons are not rounded, and there is no space between them. Real icons are inside a flex layout with a gap: 1.5rem CSS property that creates the spacing.

Another instance of broken placeholder styles is when you change the Social Icons styles to have the "Logos Only" style and a black icon color:

Screenshot 2023-10-12 at 11 42 36

Here again the gap is missing, and also:

  1. The icon sizes don't match: the placeholders are 24px, but the real SVGs are 30px big. Although the SVG's size is determined by its font-size: 24px CSS style, somehow that translates into 30px real size.
  2. The black icon color is not respected by the placeholder.

Last time the social icons placeholders were updated was 3 years ago by @jasmussen in #26953. It seems that the real icons' styling has changed since, but the placeholders were left behind.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Block] SocialAffects the Social Block - used to display Social Media accounts[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions