From 4a9460f7bdb4ff621f09c2b4864735a5354d9829 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 4 Nov 2025 16:30:10 +0100 Subject: [PATCH] Fix Skeleton placeholders being animated when setting to reduce animations is enabled (#36716) --- app/javascript/styles/mastodon/admin.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index 6a5008909db..b5cb56d4254 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/admin.scss @@ -1309,6 +1309,10 @@ a.sparkline { line-height: 1; width: 100%; animation: skeleton 1.2s ease-in-out infinite; + + .reduce-motion & { + animation: none; + } } @keyframes skeleton {