Bug 1406353 - Give autocomplete panel extra margin. r=dao draft
authorDale Harvey <dale@arandomurl.com>
Tue, 03 Oct 2017 16:37:00 +0100
changeset 676018 d9cf6bfc55e9304717ea66bcb71b126e4c126da9
parent 674262 d57ba091571af9ff3642c560e5f6dea956991cc9
child 734820 485b201c808017045bd5829e8f8f2213c0a4c8ae
push id83361
push userbmo:dharvey@mozilla.com
push dateFri, 06 Oct 2017 12:41:53 +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;
 }