Skip to content

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

UX: Prevent the post admin menu from appearing under the header on OP

Kris3a8ed4033f84
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index ee169e499f9..7b1d8382fb6 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -6,6 +6,12 @@
margin-left: 0;
}
+.topic-post:first-child {
+ nav.post-controls .post-admin-menu {
+ bottom: -125px;
+ }
+}
+
.topic-body {
// this ensures consistent top margin on topic posts even if the first line of a post
// is a top-margin-less element like a list or image.