Bug 1577742 - Inrease the megabar's z-index so it overlaps the tab overflow indicators. r=harry
authorDão Gottwald <dao@mozilla.com>
Fri, 30 Aug 2019 13:05:20 +0000
changeset 554616 21483daf4d9db7fbeae739085f842d522ad38d0f
parent 554615 a62c0eb6faa60c5cb1720a76641ee3a6269d6388
child 554617 3e9155a5cd2404bb61c2c4a6d0d708a290078953
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersharry
bugs1577742
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1577742 - Inrease the megabar's z-index so it overlaps the tab overflow indicators. r=harry Differential Revision: https://phabricator.services.mozilla.com/D44135
browser/themes/shared/urlbar-searchbar.inc.css
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -82,17 +82,19 @@
 
 #urlbar:not(.hidden-focus)[focused="true"],
 #searchbar:focus-within {
   border-color: var(--toolbar-field-focus-border-color);
 }
 
 #urlbar[breakout] {
   position: absolute;
-  z-index: 2;
+  /* The z-index needs to be big enough to trump other positioned UI pieces
+     that we want to overlay. 3 is used in the tab bar. */
+  z-index: 3;
   top: 0;
   margin-top: -@urlbarBreakoutVerticalExtend@;
   margin-inline-start: -@urlbarBreakoutHorizontalExtend@;
   width: calc(var(--urlbar-width) + 2 * @urlbarBreakoutHorizontalExtend@);
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
 }
 
 #urlbar[breakout] > #urlbar-input-container {