FIX: Do not add CSS transition effect to animated images (#12803)

Followup to c11d75da87, the transition
delays the pause/play action.
This commit is contained in:
Penar Musaraj 2021-04-22 14:05:48 -04:00 committed by GitHub
parent 31d3990986
commit 139ba69117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ $meta-element-margin: 6px;
border: 1px solid var(--primary-low);
}
.cooked img.d-lazyload {
.cooked img.d-lazyload:not(.animated) {
transition: opacity 0.4s 0.75s ease;
}