Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca
authorRichard Marti <richard.marti@gmail.com>
Sun, 26 Jan 2020 20:50:11 +0100
changeset 38024 52ed40dc7d152398673e3ce1d83861c6dd234084
parent 38023 c8aada5de2592667ca474f80763bd9ab05688a3d
child 38025 ddeaba08582e1eff539b339954b36b144a467c61
push id398
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:10:28 +0000
reviewersaleca
bugs1610434
Bug 1610434 - Windows 7: Hide the titlebar-placeholder when drawInTitletbar and non-autohide menu bar. r=aleca
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) {