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 <chris@legendserver.info>
This commit is contained in:
Fabian Dill 2022-05-27 03:13:49 +02:00 committed by GitHub
parent fb99dca83e
commit 960988ddcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -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;

View File

@ -21,11 +21,8 @@
you can simply refresh this page and the server will be started again.<br>
{% if room.last_port %}
You can connect to this room by using <span class="interactive"
data-tooltip="This means address/ip is {{ config['PATCH_TARGET'] }} and port is {{ room.last_port }}.
Clicking here opens the Text Client, if installed properly.">
<a href="archipelago://{{ config['PATCH_TARGET'] }}:{{ room.last_port }}">
'/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}'
</a>
data-tooltip="This means address/ip is {{ config['PATCH_TARGET'] }} and port is {{ room.last_port }}.">
'/connect {{ config['PATCH_TARGET'] }}:{{ room.last_port }}'
</span>
in the <a href="{{ url_for("tutorial_landing")}}">client</a>.<br>{% endif %}
{{ macros.list_patches_room(room) }}