Bug 1242271 - The first item in the overflow panel doesn't need a margin-top as the panel has its own padding-top. r=gijs
authorJared Wein <jwein@mozilla.com>
Thu, 21 Apr 2016 14:58:00 +0200
changeset 294480 8969263da89689bb3519a93ce0e142e88800643b
parent 294479 1b5ef8bb25d817e4a266423c9cdcbf352c4093b3
child 294481 6c3268c97a6cad35aabf98e0478f51302f3f5eb3
push id75556
push usercbook@mozilla.com
push dateFri, 22 Apr 2016 13:58:01 +0000
treeherdermozilla-inbound@56d0b315df5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1242271
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1242271 - The first item in the overflow panel doesn't need a margin-top as the panel has its own padding-top. r=gijs MozReview-Commit-ID: KGUTQhqJ2CO
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -1052,17 +1052,18 @@ panelview .toolbarbutton-1,
 }
 
 .cui-widget-panelview .subviewbutton:not(.panel-subview-footer) {
   margin-left: 4px;
   margin-right: 4px;
 }
 
 panelview .toolbarbutton-1,
-.widget-overflow-list .toolbarbutton-1 {
+.widget-overflow-list .toolbarbutton-1:not(:first-child),
+.widget-overflow-list .toolbaritem-combined-buttons:not(:first-child) {
   margin-top: 6px;
 }
 
 panelview .toolbarbutton-1@buttonStateHover@,
 toolbarbutton.subviewbutton@buttonStateHover@,
 menu.subviewbutton@menuStateHover@,
 menuitem.subviewbutton@menuStateHover@,
 .share-provider-button@buttonStateHover@:not([checked="true"]),