WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#51120 new defect (bug)

Share Icon SVG in social-link block missing 'width' and 'height' attributes

Reported by: serjica Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 5.5
Component: Editor Keywords:
Focuses: Cc:

Description

All SVG in social-link.php have "...<svg width="24" height="24" viewBox="0 0 24 24"..." but the last one named "Share Icon" have no - "...<svg viewBox="0 0 24 24">..."
I suppose this is mistake - typing error - no WIDTH and HEIGHT and this cause very big icon.

Change History (1)

#1 @SergeyBiryukov
2 months ago

  • Component changed from Media to Editor
  • Summary changed from Mistake in social-link svg to Share Icon SVG in social-link block missing 'width' and 'height' attributes

Hi there, welcome to WordPress Trac! Thanks for the report.

Just to clarify for anyone looking at this, the report is about the social links block added in [47250] / #49397.

Note: See TracTickets for help on using tickets.