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.
This commit is contained in:
Joel Martin 2011-09-13 12:17:44 -05:00
parent 9192cbe39c
commit 1c3df652de
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ html {
/* Do not set width/height for VNC_screen or VNC_canvas or incorrect /* Do not set width/height for VNC_screen or VNC_canvas or incorrect
* scaling will occur. Canvas resizes to remote VNC settings */ * scaling will occur. Canvas resizes to remote VNC settings */
#noVNC_screen { #noVNC_screen {
padding-top:40px; margin-top:40px;
text-align: center; text-align: center;
display: table; display: table;
width:100%; width:100%;