From 1c3df652def466bcca9faa878096bc58f4a32075 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Tue, 13 Sep 2011 12:17:44 -0500 Subject: [PATCH] Firefox offset bug: use margin instead of padding. For some reason, the position calculation is broken in firefox when a DOM object in the ancestry change uses padding. So use margin to shift the view area down. --- include/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/base.css b/include/base.css index 9c227b06..246999fc 100644 --- a/include/base.css +++ b/include/base.css @@ -132,7 +132,7 @@ html { /* Do not set width/height for VNC_screen or VNC_canvas or incorrect * scaling will occur. Canvas resizes to remote VNC settings */ #noVNC_screen { - padding-top:40px; + margin-top:40px; text-align: center; display: table; width:100%;