Closed RefineryX closed 1 year ago
I'm seeing this behavior as well, it looks to me like the custom CSS is being applied after the dashboard is loaded.
I have a few cards where I'm removing the background, changing the font size, or changing padding and they all animate the change between their default state and the changes made by card-mod. This seems to only happen on initial page load, after which it won't happen again until the page is refreshed, or some kind of cache expires.
The above gif was recorded using firefox, but I'm seeing the same behavior in the Fully Kiosk Browser app too.
I’m currently building out my dashboard and when using ‘card-mod’ it does an annoying refresh / flash on the initial load of each page.
Is there anything I can do to stop this?
Demonstration:
Slowed Down
In my config.yaml file I also put the following to see if it would prioritise the load but it has not worked.
Code used in demo: