Bug: fa-credit-card
seems to ignore styleDefault
configuration
#20191
Labels
fa-credit-card
seems to ignore styleDefault
configuration
#20191
Bug description
When setting
styleDefault: 'thin'
then<i class="fa fa-credit-card"></i>
should be replaced with the credit card icon using the style set byFontAwesomeConfig.styleDefault
. Instead it is using theregular
style, as indicated bydata-prefix="far"
and the fact that the icon is not thin.Other icons are working correctly. The kit I have this issue with is a pro kit owned by my organisation, but I have approximated the reproduction in plnkr to avoid publishing my employer's font awesome pro kit code.
Reproducible test case
https://plnkr.co/edit/qFrlAmjFc65YWRst
Screenshots
This screenshot shows the issue occurring in the following html
Font Awesome version
v6.5.2
Serving
Kit
Implementation
SVG+JS
Browser and Operating System
Web bug report checklist
The text was updated successfully, but these errors were encountered: