Bug 1406353 - Give autocomplete panel extra margin. r=dao
authorDale Harvey <dale@arandomurl.com>
Tue, 03 Oct 2017 16:37:00 +0100
changeset 427642 b3e87f7a8f387a3e7f5a4e35757cda06aabc98dc
parent 427641 993b0c97459dd0336cced363dc5571947b319687
child 427643 7b16f542139d0d12722cb8dd51568ddedf81bf1e
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersdao
bugs1406353
milestone58.0a1
Bug 1406353 - Give autocomplete panel extra margin. r=dao MozReview-Commit-ID: A1jR564IKjt
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -330,16 +330,24 @@
 
 %include ../shared/urlbarSearchSuggestionsNotification.inc.css
 
 /* ----- AUTOCOMPLETE ----- */
 
 %include ../shared/autocomplete.inc.css
 %include ../shared/urlbar-autocomplete.inc.css
 
+/* Give an extra margin top to align the top of the awesomebar with the
+ * bottom of the nav bar, OSX calculates the panel position with an missing
+ * 1px - https://bugzilla.mozilla.org/show_bug.cgi?id=1406353
+ */
+#PopupAutoCompleteRichResult {
+  margin-top: 1px;
+}
+
 #PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
   border-top: 1px solid #C7C7C7;
 }
 
 .ac-title {
   font-size: 14px;
 }