Center canvas vertically as well in vnc_lite

Fixes issue #881.
This commit is contained in:
Samuel Mannehed 2017-11-01 08:40:11 +01:00
parent 3c07dc51af
commit ba9e1ecc94
1 changed files with 2 additions and 3 deletions

View File

@ -11,6 +11,8 @@ body {
background-color:#313131;
border-bottom-right-radius: 800px 600px;
height:100%;
display: flex;
flex-direction: column;
}
html {
@ -64,8 +66,5 @@ html {
* scaling will occur. Canvas size depends on remote VNC
* settings and noVNC settings. */
#noVNC_canvas {
position: absolute;
left: 0;
right: 0;
margin: auto;
}