Fontawsome Icons as SVG in the icon plugin

Hi,

i followed the icon plugin instructions

for getting my own icons available in the panel.
Works fine so far …

After that i changed the sample icon with a fontawesome icon

After downloading the svg file I copied the content of the SVG-Tag and replaced the default code in the plugin JS-File. After reloading the panel i saw no icon. After analysing the code i found out the icon is to big!


CleanShot 2021-03-18 at 13.22.53

Problem is the viewBox attribute!
When i change the vieBox to the one provided in the SVG from fontawesome everything shows up correctly.

CleanShot 2021-03-18 at 13.25.38
CleanShot 2021-03-18 at 13.25.46

How can i set the own viewBox attribute ???

Greetings Michael

OK, the only way I found is to scale down the icon to 16px x 16px. That worked …
Michael