Bug 1369786 - Remove drag space at the start of the tab strip in maximized windows. r=dao
authorEkanan Ketunuti <ananuti@gmail.com>
Tue, 06 Jun 2017 18:20:58 +0700
changeset 413067 1e14ae1885dcbad2241c59cb08152c16c62532a7
parent 413066 45eded6a52c0bfa75cc7515579fd678e99572832
child 413068 d912b21f2ae6479ed294917909f0cfcbdcc0208a
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1369786
milestone55.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 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
--- a/browser/themes/shared/browser.inc.css
+++ b/browser/themes/shared/browser.inc.css
@@ -1,21 +1,21 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 %ifdef MOZ_PHOTON_THEME
 %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
 %endif
 
 /* Go button */
 .urlbar-go-button {
   padding: 0 3px;