Bug 1193721 - Hard code the caption button width for Windows 10 with scaled screens. r=rkent, a=rkent
authorRichard Marti <richard.marti@gmail.com>
Wed, 12 Aug 2015 15:27:53 +0200
changeset 22155 03ff3b80815f
parent 22154 9653ee53a6fa
child 22156 045312fc9aa0
push id29
push userkent@caspia.com
push dateWed, 12 Aug 2015 23:15:35 +0000
treeherdercomm-esr38@03ff3b80815f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrkent, rkent
bugs1193721
Bug 1193721 - Hard code the caption button width for Windows 10 with scaled screens. r=rkent, a=rkent
mail/themes/windows/mail/mailWindow1.css
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -425,16 +425,22 @@ treechildren::-moz-tree-image(subjectCol
 #titlebar-close {
   -moz-appearance: -moz-window-button-close;
 }
 
 #messengerWindow[tabsintitlebar] .titlebar-placeholder[type="caption-buttons"] {
   margin-left: 10px; /* additional space for Aero Snap */
 }
 
+@media (-moz-os-version: windows-win10) {
+  #messengerWindow[tabsintitlebar] .titlebar-placeholder[type="caption-buttons"] {
+    min-width: 143px; /* Bug 1193721, hardcode the width for scaled screens */
+  }
+}
+
 #messengerWindow:not([tabsintitlebar]) .titlebar-placeholder {
   visibility: collapse;
 }
 
 %ifndef WINDOWS_AERO
 /* Render a window top border for lwthemes on WinXP modern themes: */
 @media (-moz-windows-theme: luna-blue) {
   #messengerWindow[tabsintitlebar][sizemode="normal"]