valor-software / ng2-table

Simple table extension with sorting, filtering, paging... for Angular2 apps
http://valor-software.github.io/ng2-table/
MIT License
554 stars 337 forks source link

Can we change Font Awesome to another Font? like Icomoon #172

Open razazaidisd opened 8 years ago

razazaidisd commented 8 years ago

I am using Icomoon in overall website, For sorting icon I don't want to use Font Awesome, Is there a way to change this?

AdrianPasalega commented 7 years ago

@razazaidisd Maybe is too late, and maybe there are better ways, but I found a way to use bootstrap icons instead of font awesome, I styled in my css the .fa class with the styles from bootstrap: .fa { position: relative; top: 1px; display: inline-block; font-family:"Glyphicons Halflings"; font-style: normal; font-weight:400; line-height: 1; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing: grayscale; } .fa-chevron-up::before { content: "\e252"; } .fa-chevron-down::before { content: "\e253"; } I'm in a hurry now, and I know is not a good solution, so if you find other ways, let me know, thanks