[SOLVED] Bug in PluginIcon preventing correct re-sizing?
Hi,
The FontAwesome icons in PluginIcon are tiny and do not re-size correctly ('button width' 'button height') - only the transparent box (or 'area') around the icon get bigger, but the icon stays the same size. Here you can see an example:
The first 'WhatsApp' PluginIcon on the left is tiny, about 15px x 15px, the second one, about 50px x 50 px, is PluginImage.
Here is the code for the first two:
{button href="https://wa.me/xxxxxxxxxx" _icon_name="whatsapp" _type=" " _target="_blank"} {img type="fileId" fileId="1719" link="https://wa.me/xxxxxxxxxx"}
Could this be due to PluginIcon using a .png instead of .svg, where if you increase the size of the .png it would not look good so it was coded to only increase the size of the area surrounding the icon? Also interesting is that the size of the WhatsApp icon (and probably most others) when downloaded to my local environment (entire library, not individual) is about 50px x 50px., so maybe there is a bug that is making it smaller to start with?
In any case, an image with a link works fine, I just thought I'd give a heads up should this be an 'Easy first contribution' for someone.
br,
Mike