EasyUI Forum

General Category => EasyUI for React => Topic started by: chrwei on August 12, 2019, 01:21:59 PM



Title: To enable Font Awesome for iconCls....
Post by: chrwei on August 12, 2019, 01:21:59 PM
If you want to use Font Awesome for iconCls icons, add this to your index.css then use the normal "fas fa-xxx" classes in iconCls.

Code:
.l-btn-icon {
  font-size: inherit;
}

I've tested minimally, this doesn't seem to affect the regular icons, so you can use either.  there's probably some case that does have an effect, so test your stuff