Monday, January 31, 2022
1 change · master
Code cleanup and technical improvements
The web interface now prioritizes loading FontAwesome icons from a CDN, with local files kept as a fallback. This can improve icon loading performance and keeps the styling code cleaner by removing outdated browser-specific rules.
Original PR description
This commit reviews how fontAwesome is loaded by the system adding a priority CDN option and using font-files in '/lib' as a fallback only. It will also convert the original CSS file to SCSS, allowing to use a SCSS function to output the necessary quite complicated src string. FontAweome was made in 2017 and the original file included several deprecated selector and vendor-prefix rules. These lines were no longer necessary and have been removed. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr