Reconfigure z-index hierarchy: show dropdowns above post composer

This commit is contained in:
Toby Zerner 2016-03-28 13:32:23 +10:30
parent 5e207b1882
commit b55983c09e
3 changed files with 3 additions and 8 deletions

View File

@ -128,7 +128,6 @@
.DiscussionPage-list { .DiscussionPage-list {
.panePinned & { .panePinned & {
left: 0; left: 0;
z-index: @zindex-composer - 1;
.transition(none); .transition(none);
} }
} }

View File

@ -263,7 +263,6 @@
margin-top: -5px; margin-top: -5px;
float: right; float: right;
position: relative; position: relative;
z-index: 1;
.transition(opacity 0.2s); .transition(opacity 0.2s);
.EventPost &, .Post--hidden:not(.revealContent) & { .EventPost &, .Post--hidden:not(.revealContent) & {
@ -288,9 +287,6 @@
.Post:hover &, &.open { .Post:hover &, &.open {
opacity: 1; opacity: 1;
} }
&.open {
z-index: 2;
}
} }
.PostPreview { .PostPreview {

View File

@ -95,9 +95,9 @@
@border-radius: 4px; @border-radius: 4px;
@zindex-dropdown: 1000; @zindex-composer: 1000;
@zindex-header: 1010; @zindex-dropdown: 1010;
@zindex-composer: 1020; @zindex-header: 1020;
@zindex-pane: 1030; @zindex-pane: 1030;
@zindex-modal-background: 1040; @zindex-modal-background: 1040;
@zindex-modal: 1050; @zindex-modal: 1050;