Bug 1393406 - Give autocomplete panel extra margin. r=dao draft
authorDale Harvey <dale@arandomurl.com>
Tue, 03 Oct 2017 16:37:00 +0100
changeset 674324 da865bf0c6945407ecd8f5c7cad0b2ec1a8e0f4d
parent 674262 d57ba091571af9ff3642c560e5f6dea956991cc9
child 734288 f4193a9b56eb8c0fdbf45309799d992d6d93b6fe
push id82790
push userbmo:dharvey@mozilla.com
push dateTue, 03 Oct 2017 15:43:42 +0000
reviewersdao
bugs1393406
milestone58.0a1
Bug 1393406 - Give autocomplete panel extra margin. r=dao MozReview-Commit-ID: A1jR564IKjt
toolkit/themes/osx/global/autocomplete.css
--- a/toolkit/themes/osx/global/autocomplete.css
+++ b/toolkit/themes/osx/global/autocomplete.css
@@ -41,16 +41,21 @@ panel[type="autocomplete-richlistbox"],
 .autocomplete-history-popup {
   padding: 0px !important;
   color: -moz-FieldText;
   background-color: -moz-Field;
   font: icon;
   -moz-appearance: none;
 }
 
+/* OSX gives the awesomebar an extra 1px at the top - https://bugzilla.mozilla.org/show_bug.cgi?id=1393406 */
+#PopupAutoCompleteRichResult {
+  margin-top: 1px;
+}
+
 .autocomplete-history-popup {
   max-height: 180px;
 }
 
 /* ::::: tree ::::: */
 
 .autocomplete-tree {
   -moz-appearance: none !important;