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 332190 8969263da89689bb3519a93ce0e142e88800643b
parent 332189 1b5ef8bb25d817e4a266423c9cdcbf352c4093b3
child 332191 6c3268c97a6cad35aabf98e0478f51302f3f5eb3
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [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"]),