Rendered SVG's ignore 'scale' from 0.13.4 to 0.14 (and defaults to 1em)
qgates opened this issue · comments
Seb Tomasini commented
Code:
<button class="btn-fixed bg-green-500 print:hidden" @click="$router.push({name: 'new'})">
<icn-fa-solid-pencil-alt class="fa-icon text-xl" />
</button>
In versions 0.13.4 and below, the icon is rendered with width and height at 1.2em, the default scale
setting for options as specifed in the docs. Since 0.14 the icon is rendered at with width and height of 1em. Changing scale
no longer works. This affects all icons (and breaks) my project. Is this expected behaviour or a breaking bug?
Before (<=0.13.4):
After (0.14.0):
Joaquín Sánchez commented
@qgates we've updated the plugin to use universal icon loader, it seems we need to change some logic, fixing it
Joaquín Sánchez commented
@qgates screenshot from vite-vue3
example:
Seb Tomasini commented
Seb Tomasini commented
Many thanks tested all working correctly 👍