Bug 1404248 - Remove excess space between the address bar and the menu button in popups. r=nhnt11
authorDão Gottwald <dao@mozilla.com>
Fri, 29 Sep 2017 10:52:03 +0200
changeset 426395 d4cae180f29cf400a2a125fc96cd7095cd44c3d9
parent 426394 e7027c5f0cb22266776cfe578a47ede2e50da323
child 426396 e159d2180cd8b48e812eb10776dbd0ab3ffbcc18
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersnhnt11
bugs1404248
milestone58.0a1
Bug 1404248 - Remove excess space between the address bar and the menu button in popups. r=nhnt11 MozReview-Commit-ID: 8lY9wNO2kKH
browser/themes/shared/urlbar-searchbar.inc.css
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -43,16 +43,21 @@
   margin-bottom: 3px;
 }
 
 :root[uidensity=touch] #urlbar,
 :root[uidensity=touch] .searchbar-textbox {
   min-height: 32px;
 }
 
+:root[chromehidden~="toolbar"] #urlbar {
+  /* Remove excess space between the address bar and the menu button in popups. */
+  margin-inline-end: 0;
+}
+
 #urlbar-container {
   -moz-box-align: center;
 }
 
 .urlbar-input-box,
 .searchbar-textbox > .autocomplete-textbox-container > .textbox-input-box {
   margin: 0;
 }