Bug 846414 - Hide the "Show All Tabs" button when there are less than 2 tabs. r=josiah
authorRichard Marti <richard.marti@gmail.com>
Mon, 03 Feb 2014 20:33:10 +0100
changeset 15704 b42786120a5d6504b3cf2566c3c6a481bbce69ed
parent 15703 04b8728170430c2f51e1f6dffeadf616ed7c9344
child 15705 c3d4df847b6629f6eb0cb46ad5f5e09e9659ee1c
push id9844
push userryanvm@gmail.com
push dateWed, 05 Feb 2014 21:29:51 +0000
treeherdercomm-central@87a9d2b23012 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjosiah
bugs846414
Bug 846414 - Hide the "Show All Tabs" button when there are less than 2 tabs. r=josiah
mail/base/content/tabmail.css
--- a/mail/base/content/tabmail.css
+++ b/mail/base/content/tabmail.css
@@ -55,8 +55,12 @@
 }
 
 .tab-throbber:not([busy]):not([thinking]),
 .tab-throbber[busy] + .tab-icon-image,
 .tab-throbber[thinking] + .tab-icon-image,
 .tab-throbber[busy][thinking] + .tab-icon-image {
   display: none;
 }
+
+#tabcontainer:not([overflow="true"]) ~ #alltabs-button {
+  visibility: collapse;
+}