From ca0ef4f729768e43976e66063b155f0cd010df95 Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Fri, 18 Dec 2015 23:35:08 +0100 Subject: [PATCH] Bug 1195120 - CSS modifications to fix drop indicator misplacement. r=pbro --HG-- extra : commitid : 5zHpEsW8Vzx --- devtools/client/markupview/markup-view.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/devtools/client/markupview/markup-view.css b/devtools/client/markupview/markup-view.css index 2c7e0b083eb3..a3bb29871c0e 100644 --- a/devtools/client/markupview/markup-view.css +++ b/devtools/client/markupview/markup-view.css @@ -128,13 +128,16 @@ ul.children + .tag-line::before { left: -1000em; right: 0; height: 100%; - z-index: -1; + z-index: 0; } .expander { display: inline-block; margin-left: -14px; vertical-align: middle; + /* Make sure the expander still appears above the tag-state */ + position: relative; + z-index: 1; } .child.collapsed .child { @@ -190,6 +193,12 @@ ul.children + .tag-line::before { cursor: pointer; } +.editor { + /* Make sure the editor still appears above the tag-state */ + position: relative; + z-index: 1; +} + .editor.text { display: inline-block; } @@ -198,4 +207,3 @@ ul.children + .tag-line::before { .editor.comment pre { font: inherit; } -