Bug 1465337 - Adjust tracking protection toggle and other right-hand-side buttons in the main menu to align their separators. r=dao draft
authorJohann Hofmann <jhofmann@mozilla.com>
Fri, 22 Jun 2018 00:22:43 +0200
changeset 810078 599674f680aa47525791260357ce3452d6082755
parent 808726 681eb7dfa324dd50403c382888929ea8b8b11b00
push id113883
push userjhofmann@mozilla.com
push dateMon, 25 Jun 2018 06:52:08 +0000
reviewersdao
bugs1465337
milestone62.0a1
Bug 1465337 - Adjust tracking protection toggle and other right-hand-side buttons in the main menu to align their separators. r=dao MozReview-Commit-ID: 6u5AaSCMhr
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -598,17 +598,18 @@ toolbarbutton[constrain-size="true"][cui
   box-sizing: border-box;
   min-width: 26px;
   height: 10px;
   border-radius: 10px;
   background-color: var(--arrowpanel-dimmed-even-further);
   border: 1px solid transparent;
   margin-top: 4px;
   margin-bottom: 4px;
-  margin-inline-end: 10px;
+  margin-inline-start: 1px;
+  margin-inline-end: 7px;
   padding: 2px;
   transition: padding .2s ease;
 }
 
 #appMenu-tp-toggle::before {
   position: relative;
   display: block;
   content: "";
@@ -1033,17 +1034,17 @@ panelmultiview .toolbaritem-combined-but
   width: 20px; /* a little bigger than the width of the scrollbar */
 }
 
 .PanelUI-subView .toolbaritem-combined-buttons > .subviewbutton {
   -moz-box-flex: 0;
   height: auto;
   margin-inline-start: 18px;
   min-width: auto;
-  padding: 4px;
+  padding: 4px 5px;
 }
 
 #appMenu-zoom-controls > .subviewbutton {
   margin-inline-start: 10px;
 }
 
 /* Unset the min-height constraint, because that works better for a text-only button. */
 #appMenu-zoomReset-button {