Skip to content

wa-icon library forces element width #1818

@BeWoFinum

Description

@BeWoFinum

Describe the bug

The Bootstrap icon library seems to return elements with a width attribute.

This causes the width set by the font-size to be overwritten, and the icon to always appear 16px wide.

This should be fixable by adding width: auto in the following css rule.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://webawesome.com/docs/components/icon#bootstrap-icons
  2. View one of the Bootstrap icons in the browsers dev-tools
  3. Change the font-size of the component
  4. Notice that it does not change size.
  5. Also notice that the elment corresponting to the icon has width and height attributes.

Screenshots

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions