verbb / icon-picker

A Craft CMS field to select SVG or font icons from a folder for use in your content.
Other
17 stars 8 forks source link

SVG wrapped in SVG element #70

Closed RobinWithouck closed 1 year ago

RobinWithouck commented 1 year ago

Describe the bug

The actual SVG gets wrapped in an SVG element. This results in a bad layout when you select an icon. I use an icon set type "SVG Folder". The icons in the dropdown are shown correctly.

Schermafbeelding 2022-12-19 om 14 52 24

Schermafbeelding 2022-12-19 om 14 52 13

Steps to reproduce

  1. Add an icon set with type "SVG Folder".
  2. Add an icon field to an entry.
  3. Select an icon from the dropdown.

Craft CMS version

4.3.5

Plugin version

2.0.8

Multi-site?

No

Additional context

I don't think it's relevant, but the field is in a Neo block.

RobinWithouck commented 1 year ago

This is fixed with new updates