From 016335a9aebaefa68620060ace49c3deeae88092 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Mon, 23 May 2016 14:24:36 +1000 Subject: [PATCH] Bug 1191966 part 2 - Avoid adding margin-top on tabs toolbar when in fullscreen mode. r=dao MozReview-Commit-ID: GU0CsOufvKE --HG-- extra : rebase_source : 2db79bdde33f0fe5af8cff4c1d6dd9df2dd62449 extra : histedit_source : b96669e1be0cae76199e7fb0aa15ab8ec89c96e1 --- browser/themes/windows/browser.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/themes/windows/browser.css b/browser/themes/windows/browser.css index 0afd560bc878..87a5e8c1bdb5 100644 --- a/browser/themes/windows/browser.css +++ b/browser/themes/windows/browser.css @@ -91,8 +91,8 @@ /* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */ -#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar, -#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar { +#toolbar-menubar:not([autohide=true]) ~ #TabsToolbar:not([inFullscreen]), +#toolbar-menubar[autohide=true]:not([inactive]) ~ #TabsToolbar:not([inFullscreen]) { margin-top: 3px; }