UX: Disable highlight animation on deleted posts

This commit is contained in:
Kris 2020-03-20 12:15:58 -04:00
parent cfec10a568
commit 69df19a663
1 changed files with 6 additions and 0 deletions

View File

@ -555,6 +555,12 @@ blockquote {
&.highlighted { &.highlighted {
animation: background-fade-highlight 2.5s ease-out; animation: background-fade-highlight 2.5s ease-out;
} }
.deleted & {
// Disable so the deleted background is visible immediately
&.highlighted {
animation: none;
}
}
} }
.post-info { .post-info {