Layout pinned tabs correctly even if the tab bar is narrower than the size of a pinned tab (#269)
This commit is contained in:
parent
5bec33ba6f
commit
5550e49ecb
@ -421,7 +421,7 @@ TreeStyleTabBrowser.prototype = {
|
||||
|
||||
var width = faviconized ? faviconizedSize : maxWidth ;
|
||||
var height = faviconizedSize;
|
||||
var maxCol = Math.floor(maxWidth / width);
|
||||
var maxCol = Math.max(1, Math.floor(maxWidth / width));
|
||||
var maxRow = Math.ceil(count / maxCol);
|
||||
var col = 0;
|
||||
var row = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user