From ba9e1ecc942519d8dd09cd2f1354b924527c0328 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Wed, 1 Nov 2017 08:40:11 +0100 Subject: [PATCH] Center canvas vertically as well in vnc_lite Fixes issue #881. --- app/styles/lite.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/styles/lite.css b/app/styles/lite.css index 422ed4df..b7df1e39 100644 --- a/app/styles/lite.css +++ b/app/styles/lite.css @@ -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; }