mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Bug 589304 - When tabs are small enough to hide the close icon, stack tabs r=dolske, a=beltzner
--HG-- extra : rebase_source : 508152d38d885156132ebe9a64d64d3ec229af55
This commit is contained in:
parent
9eb8420b7f
commit
2d1a37b716
@ -982,7 +982,7 @@ GroupItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
};
|
||||
|
||||
var rects = Items.arrange(null, bb, options);
|
||||
return (rects[0].width < TabItems.minTabWidth * 1.35);
|
||||
return (rects[0].width < 55);
|
||||
},
|
||||
|
||||
// ----------
|
||||
|
@ -388,7 +388,7 @@ TabItem.prototype = Utils.extend(new Item(), new Subscribable(), {
|
||||
proportion = widthRange.proportion(css.width); // between 0 and 1
|
||||
} else {
|
||||
$fav.css({top:4,left:4});
|
||||
widthRange = new Range(60, 70);
|
||||
widthRange = new Range(40, 45);
|
||||
proportion = widthRange.proportion(css.width); // between 0 and 1
|
||||
$close.show().css({opacity:proportion});
|
||||
if (proportion <= .1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user