fix: tooltip on mobile

This commit is contained in:
Luka Dekanozishvili 2026-02-01 13:29:48 +01:00
parent f14604f219
commit b1814d6249

View file

@ -199,7 +199,16 @@
<label class="form-control flex flex-col">
<div class="flex flex-row items-center">
<label class="fieldset-legend mr-1" for="record-priority">Priority</label>
<div class="tooltip tooltip-info mt-1" data-tip="This field is useful if you have multiple mailservers. The server with the lower priority is tried first. If it fails to receive mail, the one with the next lowest priority is tried. Set the same priority values for for load-balancing.">
<div class="tooltip not-sm:tooltip-right tooltip-info mt-1 before:whitespace-pre-wrap"
data-tip=
"This field is useful if you have
multiple mailservers. The server
with the lower priority is tried
first. If it fails to receive mail,
the one with the next lowest priority
is tried. Set the same priority
values for for load-balancing."
>
<div role="alert" class="alert m-0 p-0 gap-2 flex flex-column justify-center ml-auto ">
<svg class="stroke-primary-content h-4 w-4" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</div>
@ -216,7 +225,13 @@
<label class="form-control">
<div class="flex flex-row items-center">
<label class="fieldset-legend mr-1" for="record-priority">Priority</label>
<div class="tooltip tooltip-info mt-1" data-tip="This field is useful if you have multiple servers. The server with the lower priority is prioritized for traffic.">
<div class="tooltip not-sm:tooltip-right tooltip-info mt-1 before:whitespace-pre-wrap"
data-tip=
"This field is useful if you have
multiple servers. The server with
the lower priority is prioritized
for traffic."
>
<div role="alert" class="alert m-0 p-0 gap-2 flex flex-column justify-center ml-auto ">
<svg class="stroke-primary-content h-4 w-4" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</div>
@ -230,7 +245,12 @@
<label class="form-control">
<div class="flex flex-row items-center">
<label class="fieldset-legend mr-1" for="record-weight">Weight</label>
<div class="tooltip tooltip-info mt-1" data-tip="This field serves a similar purpose as the Priority, except it is looked at second. So priority takes precedence.">
<div class="tooltip not-sm:tooltip-right tooltip-info mt-1 before:whitespace-pre-wrap"
data-tip=
"This field serves a similar purpose
as the Priority, except it is looked
at second. So priority takes precedence."
>
<div role="alert" class="alert m-0 p-0 gap-2 flex flex-column justify-center ml-auto ">
<svg class="stroke-primary-content h-4 w-4" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</div>
@ -272,7 +292,14 @@
<label class="form-control flex flex-col">
<div class="flex flex-row items-center">
<label class="fieldset-legend mr-1" for="record-ttl">TTL</label>
<div class="tooltip tooltip-info mt-1" data-tip="TTL or 'Time To Live' controls how long the record is allowed to be cached on different devices. Set a lower number if you expect your record to change value very often.">
<div class="tooltip not-sm:tooltip-right tooltip-info mt-1 before:whitespace-pre-wrap"
data-tip=
"TTL or 'Time To Live' controls how
long the record is allowed to be
cached on different devices. Set a
lower number if you expect your
record to change value very often."
>
<div role="alert" class="alert m-0 p-0 gap-2 flex flex-column justify-center ml-auto ">
<svg class="stroke-primary-content h-4 w-4" fill="none" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
</div>