• Joel Martin's avatar
    Fix window/document sizing in firefox. · b70ce077
    Joel Martin authored
    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.
    b70ce077
vnc.html 6.57 KB