Files
romm/frontend
Georges-Antoine Assi e0e2e109b1 perf(v2): use static background SVG in Firefox to stop GPU repaint
The auth_background.svg fallback contains two infinite CSS animations.
As a full-viewport background-image under a 28px blur (and re-sampled by
every backdrop-filter surface), Firefox's WebRender re-rasterizes the
whole viewport every frame, pegging the renderer/GPU. It is worst on
pages that fall back to this art (settings, administration) since they
call setBgArt(null); other pages show static cover art.

Swap to the existing static variant in Firefox only via the
@-moz-document url-prefix() hack (the same pattern v1's Auth.vue already
uses). Other browsers keep the animation. The BackgroundArt fallback is
moved from an inline style into CSS so the override can take effect.

Generated-By: PostHog Code
Task-Id: d82d41fa-0db7-477d-bb80-fc512558e076
2026-07-06 22:39:05 -04:00
..
2026-06-22 10:06:03 -04:00
2025-09-09 20:19:30 -04:00
2026-05-30 20:53:52 -04:00
2026-06-25 17:17:23 -04:00