Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon in select field appearing cropped #13

Open
Julianoe opened this issue Jul 17, 2019 · 0 comments
Open

Icon in select field appearing cropped #13

Julianoe opened this issue Jul 17, 2019 · 0 comments

Comments

@Julianoe
Copy link

Capture d’écran de 2019-07-17 22-37-41

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!

Capture d’écran de 2019-07-17 22-42-37

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant