fix(LOY-93): add quickfix for hiding confetti canvas when reduced motion is turned on

we shouldn't need this fix but currently tsparticles doesn't support this because of a bug in their lib
This commit is contained in:
Christian Andolf
2025-05-19 15:55:39 +02:00
parent bbe04e3cb0
commit 822043f433

View File

@@ -34,6 +34,10 @@
}
@media screen and (min-width: 768px) and (prefers-reduced-motion) {
/* Quickfix since tsparticles doesn't support reduced motion currently */
.confetti {
display: none;
}
.overlay:before {
background-image: url("/_static/img/confetti.svg");
background-repeat: no-repeat;