mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 21:02:21 +01:00
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