coliff / bootstrap-ie11

Internet Explorer 11 compatibility solution for Bootstrap 5
https://coliff.github.io/bootstrap-ie11/
MIT License
95 stars 15 forks source link

Font gets overwritten #16

Closed huubl closed 3 years ago

huubl commented 3 years ago

Hi,

My font get overwritten by: https://github.com/coliff/bootstrap-ie11/blob/fedb7b55427303390e48c83c764c49b2aacfb8cb/scss/_reboot.scss#L1-L3

Did you set this for a reason?

Thanks for sharing this package BTW

coliff commented 3 years ago

Thanks for reporting the issue. That particular rule improves font-display speed as it can render before needing to run the ie11CustomProperties JS polyfill. If you're not using custom fonts then I'd recommend users add this rule to their IE11 CSS - however, I can see how it could be problematic if you are using custom fonts so I'll make a change for the alpha2 release to remove this. I should have it fixed and shipped with alpha 2 later this week. 👍

coliff commented 3 years ago

I've just released alpha2 with this fix! https://github.com/coliff/bootstrap-ie11/releases

huubl commented 3 years ago

Thank you!