Bug 1421419 - Fix synced tabs sidebar searchbox on macOS. r?dao draft
authorEdouard Oger <eoger@fastmail.com>
Mon, 29 Jan 2018 16:17:12 -0500
changeset 748458 36b3b46623f22aec1b8fe716d82b9912ae266247
parent 748403 117e0c0d1ebe2cf5bdffc3474744add2416fc511
push id97169
push userbmo:eoger@fastmail.com
push dateMon, 29 Jan 2018 21:17:29 +0000
reviewersdao
bugs1421419
milestone60.0a1
Bug 1421419 - Fix synced tabs sidebar searchbox on macOS. r?dao MozReview-Commit-ID: K9ANLPjxqA5
browser/themes/osx/syncedtabs/sidebar.css
--- a/browser/themes/osx/syncedtabs/sidebar.css
+++ b/browser/themes/osx/syncedtabs/sidebar.css
@@ -95,36 +95,34 @@
     font-weight: 500;
   }
 
   .item.selected:focus > .item-title-container {
     color: #fff;
   }
 }
 
+.sidebar-search-container {
+  padding: 4px;
+}
+
 .search-box {
   -moz-appearance: searchfield;
   padding: 1px;
   font-size: 12px;
   cursor: text;
   margin: 4px;
   color: -moz-fieldText;
   -moz-user-select: text;
   text-shadow: none;
 }
 
-.search-box.compact > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
+.search-box > .textbox-input-box > .textbox-search-icons > .textbox-search-clear {
   background-image: url(chrome://global/skin/icons/searchfield-cancel.svg);
   background-repeat: no-repeat;
   background-size: 11px 11px;
   width: 11px;
   height: 11px;
 }
 
-.search-box.compact {
-    padding: 0px;
-    /* font size is in px because the XUL it was copied from uses px */
-    font-size: 11px;
-}
-
 .textbox-search-clear {
   margin-top: 1px;
 }