Skip to content

About icon aspect ratio #353

@KeroZhai

Description

@KeroZhai

Describe the bug

Some icons do not have a 1:1 aspect ratio, such as ActiveCampaign in SVG Logos, but unplugin-icons defaults to setting both width and height to 1.2em.

By the way, the same icon looks perfect in Icônes.

Reproduction

NA

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz
    Memory: 10.21 GB / 24.00 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: 113.0.5672.127
    Edge: Spartan (44.19041.1266.0), Chromium 
(122.0.2365.59)
    Internet Explorer: 11.0.19041.1202

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions