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 78523 0896833ccc90026c2fdd74ef465e2ec25b6a1bce
parent 78522 69fdc6af563d6679be07ee8aeb2e9714b6697fb8
child 78524 469cdde36b5321fc04d9e6dc7b7290258b492c9f
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs687849
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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@);
   }