From 69df19a6635ca7a1276312df0599d805cee9769d Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 20 Mar 2020 12:15:58 -0400 Subject: [PATCH] UX: Disable highlight animation on deleted posts --- app/assets/stylesheets/common/base/topic-post.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 36ca696ab27..b458f04e372 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -555,6 +555,12 @@ blockquote { &.highlighted { animation: background-fade-highlight 2.5s ease-out; } + .deleted & { + // Disable so the deleted background is visible immediately + &.highlighted { + animation: none; + } + } } .post-info {