diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-10-30 21:32:35 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-01-04 15:05:01 +0100 |
commit | 47fbdced4530dd2a66a5f20be27b69d6c12a6ffc (patch) | |
tree | 12c99ea63e667f137a37b79fb86c87f82d1d0cc8 | |
parent | 8f2ca5feaace9b0e7b253afd1e0eef0af1cd5ccc (diff) | |
download | novnc-47fbdced4530dd2a66a5f20be27b69d6c12a6ffc.tar.gz |
Center canvas vertically as well
-rw-r--r-- | app/styles/base.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index 302df2a..749bcea 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -696,10 +696,11 @@ input[type=button]:active, select:active { * settings and noVNC settings. */ #noVNC_canvas { position: absolute; + top: 0; left: 0; right: 0; - margin-left: auto; - margin-right: auto; + bottom: 0; + margin: auto; } /*Default noVNC logo.*/ |