From c7a0a4a493331edaf511354c1f405fb29d6d0a65 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Fri, 13 Sep 2013 16:04:34 +0100 Subject: [PATCH] New tab now 22px wide after removing borders --- lib/ice-coder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ice-coder.js b/lib/ice-coder.js index 5d084e7..8c0a937 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -2077,7 +2077,7 @@ var ICEcoder = { var availWidth, avgWidth, tabWidth, lastLeft, lastWidth; if (top.ICEcoder.ready) { - availWidth = parseInt(top.ICEcoder.content.style.width,10)-53-24-10; // - left margin - new tab - right margin + availWidth = parseInt(top.ICEcoder.content.style.width,10)-53-22-10; // - left margin - new tab - right margin avgWidth = (availWidth/top.ICEcoder.openFiles.length)-18; tabWidth = -18; // Incl 18px offset lastLeft = 53;