-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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.
webawesome/packages/webawesome/src/components/icon/icon.css
Lines 26 to 27 in 09c8f02
| svg { | |
| height: 1em; |
To Reproduce
Steps to reproduce the behavior:
- Go to https://webawesome.com/docs/components/icon#bootstrap-icons
- View one of the Bootstrap icons in the browsers dev-tools
- Change the font-size of the component
- Notice that it does not change size.
- Also notice that the elment corresponting to the icon has width and height attributes.
Screenshots

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working