The issue has been solved
How can I change the icon size? Font-size doesn't work, presumably because they're being converted to svgs. Changing the SVG width/height doesn't work either (because it's not changing the viewbox).

Change the width and height with CSS should work.
btw I think we can add a prop to control this.
posted by egoist about 7 years ago
@andrewmillen - here is my helper class to make the SVG adjust to the font size of it's container:
.svg-icon {
height: 1em;
margin-top: -4px;
pointer-events: none;
vertical-align: middle;
width: 1em;
}
So now the icon in here <h1>Hello World <ClockIcon class="svg-icon"/></h1>
will be the same height as the text.
Hope this helps!
Also, it would be awesome if there was some way to add this by default so I don't have to add a class every time.
posted by calebporzio over 6 years ago
Agreed with @calebporzio, I think this should be the default :)
posted by SiamKreative about 6 years ago
posted by issuehunt-app[bot] almost 6 years ago 
I've opened a PR in #37, let me know what you think.
posted by atymic over 5 years ago
:tada: This issue has been resolved in version 5.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
posted by egoist over 5 years ago
@egoist has rewarded $70.00 to @atymic. See it on IssueHunt
- :moneybag: Total deposit: $100.00
- :tada: Repository reward(20%): $20.00
- :wrench: Service fee(10%): $10.00
posted by issuehunt-app[bot] over 5 years ago