Bug 1407185 - Remove extra toolbar drag space on osx. r?johannh draft
authorDale Harvey <dale@arandomurl.com>
Sun, 15 Oct 2017 22:58:50 +0100
changeset 682284 dfc8490b485354eb1643f9e7c6f5f45f8278e6eb
parent 682283 13bd66ee725ea7f94c8fc48d13e8a601d149abb1
child 736351 e64de96216a7033b040224feeeaa6c2ee49ea7c3
push id85057
push userbmo:dharvey@mozilla.com
push dateWed, 18 Oct 2017 11:57:55 +0000
reviewersjohannh
bugs1407185
milestone58.0a1
Bug 1407185 - Remove extra toolbar drag space on osx. r?johannh MozReview-Commit-ID: 5zfeYpt0Ceh
browser/themes/osx/browser.css
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -84,18 +84,22 @@
 
 /* These would be margin-inline-start/end if it wasn't for the fact that OS X
  * doesn't reverse the order of the items in the titlebar in RTL mode. */
 .titlebar-placeholder[type="caption-buttons"],
 #titlebar-buttonbox {
   margin-left: 7px;
 }
 
-.titlebar-placeholder[type="fullscreen-button"] {
-  margin-right: 4px;
+/* The fullscreen button doesnt show on Yosemite(10.10) or above so dont give it a
+   border there */
+@media not all and (-moz-mac-yosemite-theme) {
+  .titlebar-placeholder[type="fullscreen-button"] {
+    margin-right: 4px;
+  }
 }
 
 #main-window:not(:-moz-lwtheme) > #titlebar {
   -moz-appearance: -moz-window-titlebar;
 }
 
 #main-window:not([tabsintitlebar]) > #titlebar {
   -moz-appearance: -moz-window-titlebar;