From 960988ddcdee7639d3c3b0a8d6b933ec77c106e9 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 27 May 2022 03:13:49 +0200 Subject: [PATCH] WebHost: undo autoconnect link as not all browsers behave like Vivaldi. (#577) * WebHost: undo autoconnect link as not all browsers behave like Vivaldi. * Increase tooltip z-index Co-authored-by: Chris Wilson --- WebHostLib/static/styles/tooltip.css | 4 ++-- WebHostLib/templates/hostRoom.html | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/WebHostLib/static/styles/tooltip.css b/WebHostLib/static/styles/tooltip.css index a5d8c759..0c5c0c69 100644 --- a/WebHostLib/static/styles/tooltip.css +++ b/WebHostLib/static/styles/tooltip.css @@ -47,7 +47,7 @@ give it one of the following classes: tooltip-left, tooltip-right, tooltip-top, /** Directional arrow styles */ .tooltip:before, [data-tooltip]:before { - z-index: 1001; + z-index: 10000; border: 6px solid transparent; background: transparent; content: ""; @@ -55,7 +55,7 @@ give it one of the following classes: tooltip-left, tooltip-right, tooltip-top, /** Content styles */ .tooltip:after, [data-tooltip]:after { - z-index: 1000; + z-index: 10000; padding: 8px; width: 160px; border-radius: 4px; diff --git a/WebHostLib/templates/hostRoom.html b/WebHostLib/templates/hostRoom.html index 13770e85..b5ec01f2 100644 --- a/WebHostLib/templates/hostRoom.html +++ b/WebHostLib/templates/hostRoom.html @@ -21,11 +21,8 @@ you can simply refresh this page and the server will be started again.
{% if room.last_port %} You can connect to this room by using - - '/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}' - + data-tooltip="This means address/ip is {{ config['PATCH_TARGET'] }} and port is {{ room.last_port }}."> + '/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}' in the client.
{% endif %} {{ macros.list_patches_room(room) }}