mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix Skeleton placeholders being animated when setting to reduce animations is enabled (#36716)
This commit is contained in:
parent
a978e37f4c
commit
0b50789c5b
1 changed files with 4 additions and 0 deletions
|
|
@ -1309,6 +1309,10 @@ a.sparkline {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
animation: skeleton 1.2s ease-in-out infinite;
|
animation: skeleton 1.2s ease-in-out infinite;
|
||||||
|
|
||||||
|
.reduce-motion & {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes skeleton {
|
@keyframes skeleton {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue