Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca a=mkmelin
authorRichard Marti <richard.marti@gmail.com>
Sun, 26 Jan 2020 20:50:11 +0100
changeset 37897 f61f39e9e87e830b476ce6d696ccef37eeaf3c50
parent 37896 361783282f8a84f6aec382d366886966e64710b1
child 37898 58019f894ca640359219c1fdc11f88da9e3d7011
push id397
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:16:13 +0000
reviewersaleca, mkmelin
bugs1610434
Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca a=mkmelin
mail/themes/windows/mail/mailWindow1.css
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -138,16 +138,24 @@ treechildren::-moz-tree-row(dummy, selec
 #messengerWindow[tabsintitlebar] .titlebar-placeholder[type="caption-buttons"] {
   margin-inline-start: 10px; /* additional space for Aero Snap */
 }
 
 #messengerWindow:not([tabsintitlebar]) .titlebar-placeholder {
   visibility: collapse;
 }
 
+@media (-moz-os-version: windows-win7) and (-moz-windows-glass: 0) {
+  #messengerWindow[tabsintitlebar]
+    #mail-toolbar-menubar2:not([autohide]) + #tabs-toolbar >
+    .titlebar-placeholder {
+    visibility: collapse;
+  }
+}
+
 /* Add extra space to titlebar for dragging */
 :root[sizemode="normal"] #mail-toolbar-menubar2[autohide="true"][inactive] ~ #tabs-toolbar {
   padding-top: var(--space-above-tabbar);
 }
 
 @media (-moz-windows-compositor) {
   @media (-moz-os-version: windows-win7),
          (-moz-os-version: windows-win8) {