FlowingCode/FontAwesomeIronIconset

FontAwesome icon in button is not shrink

Closed this issue · 2 comments

The default vaadin icons getting shrink if they are slotted in a button:

[part] ::slotted(vaadin-icon[icon^='vaadin:']), [part] ::slotted(iron-icon[icon^='vaadin:']) {
    padding: 0.25em;
    box-sizing: border-box !important;
}

Because the selector is checking for the vaadin: prefix, it doesn't apply to the FontAwesome icons.

Thanks for reporting this issue. Fix has been released in version 4.1.0.

Thanks for the feedback :)