diff --git a/browser/base/content/tabbrowser.css b/browser/base/content/tabbrowser.css index ac2739e41592..f161c406ef80 100644 --- a/browser/base/content/tabbrowser.css +++ b/browser/base/content/tabbrowser.css @@ -24,10 +24,10 @@ display: none; } -.tabbrowser-tabs:not([closebuttons="noclose"]):not([closebuttons="closeatend"]) > .tabbrowser-tab[selected="true"] > .tab-close-button { +.tabbrowser-tabs:not([closebuttons="noclose"]):not([closebuttons="closeatend"]) > .tabbrowser-tab[selected="true"]:not(:only-child) > .tab-close-button { display: -moz-box; } -.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab > .tab-close-button { +.tabbrowser-tabs[closebuttons="alltabs"] > .tabbrowser-tab:not(:only-child) > .tab-close-button { display: -moz-box; }