]> git.proxmox.com Git - mirror_novnc.git/commit
Fix window/document sizing in firefox.
authorJoel Martin <github@martintribe.org>
Tue, 13 Sep 2011 18:14:11 +0000 (13:14 -0500)
committerJoel Martin <github@martintribe.org>
Tue, 13 Sep 2011 18:14:11 +0000 (13:14 -0500)
commitb70ce07706d073a1e780da34ed79c2bd35eb704f
tree75872981551ac482e2afc06ab17fc29beab9534c
parent1c3df652def466bcca9faa878096bc58f4a32075
Fix window/document sizing in firefox.

Another firefox issue is that height: 100% is calculated as 100% of
the containing element even when the containing element is the window.
This means that the size of any sibling element shifts the window size
down by that much and causes the vertical scroll bars to appear. This
doesn't happen in Chrome.

- So instead, put a pad element inside the noVNC_screen element that
  is the size of the control bar. This is hidden by the control bar,
  however, it causes things to be sized correctly.

- Also, rename noVNC_defaultScreen to noVNC_logo.

- Clean some style specification out of the HTML.
include/base.css
include/ui.js
vnc.html