From a53a4028a7bc3c80856d650ca82a9430aab910b1 Mon Sep 17 00:00:00 2001 From: Kim Huebel Date: Thu, 4 Feb 2021 19:16:43 +0000 Subject: [PATCH] fixed layout problem with tooltip-box in METAR-decoding --- html/css/tooltip.css | 11 ++++++----- html/index.html | 4 ++-- html/js/version.js | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/html/css/tooltip.css b/html/css/tooltip.css index 1505573..a56f76e 100644 --- a/html/css/tooltip.css +++ b/html/css/tooltip.css @@ -39,7 +39,8 @@ /* Position the tooltip text */ position: absolute; z-index: 99; - bottom: 125%; + /*bottom: -450%;*/ + top: 0%; left: 50%; margin-left: -60px; @@ -52,12 +53,12 @@ .tooltip2 .tooltiptext::after { content: ""; position: absolute; - top: 100%; - left: 50%; - margin-left: -5px; + top: 5%; + left: 0%; + margin-left: -10px; border-width: 5px; border-style: solid; - border-color: #555 transparent transparent transparent; + border-color: transparent #555 transparent transparent; } /* Show the tooltip text when you mouse over the tooltip container */ diff --git a/html/index.html b/html/index.html index cf68d76..2f4f709 100644 --- a/html/index.html +++ b/html/index.html @@ -330,13 +330,13 @@ } var ws1 = new WebSocket("ws://" + window.location.hostname + ":5678/MMDVM"); - ws1.onmessage = function (event) { + ws1.onmessage = function (event) {/* if (lastheard > 0) getLastHeard(document, event); if (localheard > 0) getLocalHeard(document, event); if (allheard > 0) - getAllHeard(document, event); + getAllHeard(document, event);*/ }; var t_qso = $('#inQSO').DataTable( { diff --git a/html/js/version.js b/html/js/version.js index 8fe8162..7270358 100644 --- a/html/js/version.js +++ b/html/js/version.js @@ -1 +1 @@ -var dashboard_version = "2021-02-04 18:24:29"; +var dashboard_version = "2021-02-04 19:16:43";