From 9e4f57748d5cc5bd5446023e255f2742f3d42fda Mon Sep 17 00:00:00 2001
From: BeezyT <timo@ezdesign.de>
Date: Wed, 14 Nov 2012 13:14:05 +0000
Subject: [PATCH] refs #2465 iframe dimension fix

git-svn-id: http://dev.piwik.org/svn/trunk@7472 59fd770c-687e-43c8-a1e3-f5a4ff64c105
---
 plugins/Overlay/templates/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/Overlay/templates/index.js b/plugins/Overlay/templates/index.js
index 166b2e01e4..02521af8dd 100644
--- a/plugins/Overlay/templates/index.js
+++ b/plugins/Overlay/templates/index.js
@@ -59,7 +59,7 @@ var Piwik_Overlay = (function() {
 	/** Adjust the dimensions of the iframe */
 	function adjustDimensions() {
 		$iframe.height($(window).height());
-		$iframe.width($body.width());
+		$iframe.width($body.width() - $iframe.offset().left - 2);
 	}
 
 	/** Display the loading message and hide other containers */
-- 
GitLab