From ef1b60271839175510dd5c94cf66c313f2585c33 Mon Sep 17 00:00:00 2001
From: Ekanan Ketunuti <ananuti@gmail.com>
Date: Tue, 6 Jun 2017 18:20:58 +0700
Subject: [PATCH] Bug 1369786 - Remove drag space at the start of the tab strip
 in maximized windows. r=dao

The drag space at the start of the tab strip is meant to appear in
non-maximized windows but not in maximized ones.
---
 browser/themes/shared/browser.inc.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser/themes/shared/browser.inc.css b/browser/themes/shared/browser.inc.css
index 8cf516b2caea1..696a72db5bdda 100644
--- a/browser/themes/shared/browser.inc.css
+++ b/browser/themes/shared/browser.inc.css
@@ -6,11 +6,11 @@
 %ifdef CAN_DRAW_IN_TITLEBAR
 /* Add space for dragging the window */
 %ifdef MENUBAR_CAN_AUTOHIDE
-:root[tabsintitlebar] #toolbar-menubar[autohide=true] ~ #TabsToolbar {
+:root[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide=true] ~ #TabsToolbar {
   padding-inline-start: 40px;
 }
 %else
-:root[tabsintitlebar] #TabsToolbar {
+:root[tabsintitlebar][sizemode=normal] #TabsToolbar {
   padding-inline-start: 40px;
 }
 %endif
-- 
GitLab