Bug 1414609 - Changing z-index of filter autocomplete suggestion box to prevent being hidden behind netmonitor header. r=Honza draft
authorabhinav <abhinav.koppula@gmail.com>
Sun, 05 Nov 2017 16:06:38 +0530
changeset 693618 b2311847e4140105ef4f7ebbed2c4c10c25130b9
parent 693279 e7fee7042d971d73c0e5caafba3b8d15da1bc8ca
child 739102 ba2ad5a1e401c49170e8ca85e23d658cf00e8933
push id87878
push userbmo:abhinav.koppula@gmail.com
push dateMon, 06 Nov 2017 17:05:01 +0000
reviewersHonza
bugs1414609
milestone58.0a1
Bug 1414609 - Changing z-index of filter autocomplete suggestion box to prevent being hidden behind netmonitor header. r=Honza MozReview-Commit-ID: BpS8nLI1XTM
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -489,17 +489,19 @@ checkbox:-moz-focusring {
   outline: none;
 }
 
 .devtools-searchbox .devtools-autocomplete-popup {
   position: absolute;
   top: 100%;
   width: 100%;
   line-height: initial !important;
-  z-index: 999;
+  /* See bug - 1414609. z-index is greater than 1000 so that searchbox's z-index
+  is more than z-index of requests-list-headers-wrapper in netmonitor */
+  z-index: 1001;
 }
 
 /* Don't add 'double spacing' for inputs that are at beginning / end
    of a toolbar (since the toolbar has it's own spacing). */
 .devtools-toolbar > .devtools-textinput:first-child,
 .devtools-toolbar > .devtools-searchinput:first-child,
 .devtools-toolbar > .devtools-filterinput:first-child {
   margin-inline-start: 0;