Icon in select field appearing cropped
Julianoe opened this issue · 0 comments
Julianoe commented
As you can see i imported my svg sprites file but in the select field it is cropped.
I managed to make it appear properly by adding viewbox="0 0 100 100"
in the code. Replacing <svg class="acf_svg__icon
with <svg viewbox="0 0 100 100" class="acf_svg__icon
in input-5.js and input-56.js. Solved!
Is this a problem specific to my case or do you folks have the same issue? I can't know if it is because of the way my icons are encoded or if it's a core issue of the plugin... ? What do you think ?