[pve-devel] [PATCH 1/2] remove unnecessary 6px addition
Dominik Csapak
d.csapak at proxmox.com
Tue Aug 2 16:39:20 CEST 2016
this added a 6px border at the bottom for
chrome/firefox/ie11
this patch removes it
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
debian/patches/pveui.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/pveui.patch b/debian/patches/pveui.patch
index 73aa9e7..b613d98 100644
--- a/debian/patches/pveui.patch
+++ b/debian/patches/pveui.patch
@@ -793,7 +793,7 @@ index cb5717c..ceaa4fc 100644
+ // Note1: CSS Canvas size is wrong by a few pixels in Chrome
+ // Note2: window size must be even number for firefox
+ UI.lastFBWidth = Math.floor((width + 1)/2)*2;;
-+ UI.lastFBHeight = Math.floor((height + 6)/2)*2;
++ UI.lastFBHeight = Math.floor((height)/2)*2;
+
+ if (UI.sizeUpdateTimer !== undefined) {
+ clearInterval(UI.sizeUpdateTimer);
--
2.1.4
More information about the pve-devel
mailing list