From 9fc0e4f6e38b7625f8eb6d125af13eaba4f50457 Mon Sep 17 00:00:00 2001 From: samhed Date: Wed, 24 Aug 2016 11:06:23 +0200 Subject: [PATCH] Strict positioning of panels The panels were never meant to be positioned relative their container, so make sure they pop up exactly where we want in the viewport, no matter where they are in the structure. --- app/styles/base.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/styles/base.css b/app/styles/base.css index 3f32cb74..ff1469ad 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -148,14 +148,14 @@ html { /*Bubble contents divs*/ #noVNC_settings { display:none; - margin-top:73px; + top:73px; right:20px; position:fixed; } #noVNC_controls { display:none; - margin-top:73px; + top:73px; right:12px; position:fixed; } @@ -167,7 +167,7 @@ html { display:none; position:fixed; - margin-top:73px; + top:73px; right:20px; left:20px; padding:15px; @@ -186,7 +186,7 @@ html { z-index: 1; margin:15px; - margin-top:60px; + top:60px; padding:15px; width:auto; @@ -203,7 +203,7 @@ html { #noVNC_xvp { display:none; - margin-top:73px; + top:73px; right:30px; position:fixed; } @@ -213,7 +213,7 @@ html { #noVNC_clipboard { display:none; - margin-top:73px; + top:73px; right:30px; position:fixed; } @@ -321,7 +321,6 @@ html { .triangle-right { position:relative; padding:15px; - margin:1em 0 3em; color:#fff; background:#fff; /* default background for browsers without gradient support */ /* css3 */