Skip to content

A platform for community discussion. Free, open, simple.

Z-index fix for hidden posts

Kris6d359ca8237c
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 {