From b55983c09e2227054695eeee127bea47c5ae5171 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 28 Mar 2016 13:32:23 +1030 Subject: [PATCH] Reconfigure z-index hierarchy: show dropdowns above post composer --- framework/core/less/forum/DiscussionPage.less | 1 - framework/core/less/forum/Post.less | 4 ---- framework/core/less/lib/variables.less | 6 +++--- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/framework/core/less/forum/DiscussionPage.less b/framework/core/less/forum/DiscussionPage.less index c7ed9c4b1..391869a88 100644 --- a/framework/core/less/forum/DiscussionPage.less +++ b/framework/core/less/forum/DiscussionPage.less @@ -128,7 +128,6 @@ .DiscussionPage-list { .panePinned & { left: 0; - z-index: @zindex-composer - 1; .transition(none); } } diff --git a/framework/core/less/forum/Post.less b/framework/core/less/forum/Post.less index b6fbccc8f..10d43cd6a 100644 --- a/framework/core/less/forum/Post.less +++ b/framework/core/less/forum/Post.less @@ -263,7 +263,6 @@ margin-top: -5px; float: right; position: relative; - z-index: 1; .transition(opacity 0.2s); .EventPost &, .Post--hidden:not(.revealContent) & { @@ -288,9 +287,6 @@ .Post:hover &, &.open { opacity: 1; } - &.open { - z-index: 2; - } } .PostPreview { diff --git a/framework/core/less/lib/variables.less b/framework/core/less/lib/variables.less index f44824939..aa8201af9 100755 --- a/framework/core/less/lib/variables.less +++ b/framework/core/less/lib/variables.less @@ -95,9 +95,9 @@ @border-radius: 4px; -@zindex-dropdown: 1000; -@zindex-header: 1010; -@zindex-composer: 1020; +@zindex-composer: 1000; +@zindex-dropdown: 1010; +@zindex-header: 1020; @zindex-pane: 1030; @zindex-modal-background: 1040; @zindex-modal: 1050;