Hi Irina! Another option which would likely solve this issue would be to use a local version of xrextras and customize the loading-module.css itself.
As a quick test, you can clone this project where I’ve already imported a custom version of xrextras and modify the css as needed, rather than using the xrextras-loading
schema properties.