Commit 1c3df652 authored by Joel Martin's avatar Joel Martin

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.
parent 9192cbe3
...@@ -132,7 +132,7 @@ html { ...@@ -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%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment