From 50e4ecc77ef1b878642120c69f05705d820ebeeb Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Wed, 26 Jun 2019 22:39:57 +0300 Subject: [PATCH] UX: hide post is unread tooltip after the post is read (#7813) Note we can't use `display: none` here because it doesn't work with animations. --- app/assets/stylesheets/desktop/topic-post.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index eabd9cd5ec..7581135d22 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -865,8 +865,9 @@ span.highlighted { } .read-state.read { + visibility: hidden; opacity: 0; - transition: opacity ease-out 1s; + transition: visibility 1s, opacity ease-out 1s; } .signup-cta {