Skip to content

Icon in select field appearing cropped #13

Description

@Julianoe

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions