Bug 687849 - Don't show close button on last tab for portrait menu. r=lucasr
authorWes Johnston <wjohnston@mozilla.com>
Tue, 20 Sep 2011 12:07:07 -0700
changeset 77212 0896833ccc90026c2fdd74ef465e2ec25b6a1bce
parent 77211 69fdc6af563d6679be07ee8aeb2e9714b6697fb8
child 77213 469cdde36b5321fc04d9e6dc7b7290258b492c9f
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerslucasr
bugs687849
milestone9.0a1
Bug 687849 - Don't show close button on last tab for portrait menu. r=lucasr
mobile/themes/core/tablet.css
--- a/mobile/themes/core/tablet.css
+++ b/mobile/themes/core/tablet.css
@@ -189,16 +189,20 @@ arrowbox {
 .documenttab-popup-checkmark {
   min-width: 26px; /* size of the checkmark image */
 }
 
 #tabs-popup-newtab-button {
   -moz-box-flex: 1;
 }
 
+.tab-popup-item:only-child .documenttab-popup-closebutton {
+  display: none;
+}
+
 %ifndef honeycomb
 @media (min-width: @tablet_panel_minwidth@) {
   #awesome-panels {
     -moz-box-shadow: 0px 0px @shadow_width_small@ black;
   }
   #search-engines-popup {
     max-width: -moz-calc(@tablet_panel_minwidth@);
   }