svg icon does not display - rendered size is zero

Created on 5 June 2024, 21 days ago
Updated 10 June 2024, 16 days ago

On /node/add - some svg type tray icons display ok and the browser inspector tells me rendered size is 36 x 36px but at least one does not display and inspector tells me rendered size of the icon is 0 x 0px - the svg path is fine and loads correctly ie example.com/themes/mytheme/images/type-tray/myicon.svg

πŸ› Bug report
Status

Active

Version

1.2

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom Juc1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Juc1
  • πŸ‡¬πŸ‡§United Kingdom Juc1

    I think the problem occurs because for me on a desktop the content type description on /node/add only allows about 24 characters per line so if your content type description contains a word or link over 24 characters then it seems that the type tray icon gets squeezed out and rendered as zero pixels.

  • πŸ‡¨πŸ‡¦Canada deviantintegral

    Good sleuthing! This sounds like a bug to me.

Production build 0.69.0 2024