From 6d359ca8237c48a233097d72bd09f5c229f5179a Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 2 Mar 2018 22:41:10 -0500 Subject: [PATCH] Z-index fix for hidden posts --- app/assets/stylesheets/common/base/topic-post.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 8650e42eb43..1ca8df22684 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -159,7 +159,9 @@ aside.quote { } .post-hidden { - opacity: 0.5; + opacity: 0.5; // opacity sets a new z-index context, + position: relative; // so the positioning is required, + z-index: z("base"); // otherwise post controls are stacked too low } .topic-post.staged {