fix: improved position of info icon

This commit is contained in:
Björn Fromme
2025-10-23 11:54:44 +02:00
parent 405f03ee7a
commit 9140b97a71
+4 -4
View File
@@ -178,9 +178,9 @@
{%- set description = child.vars.attr['data-description'] ?? null -%}
{%- if description is not null -%}
<div class="flex gap-2">
<div class="flex">
{{- form_row(child, { 'attr': child_attr }) -}}
<div class="flex flex-col justify-center" {{ stimulus_controller('tooltip') }}>
<div class="pt-px pl-1" {{ stimulus_controller('tooltip') }}>
<button type="button" data-tooltip-target="trigger" class="text-blue-600 hover:text-blue-800">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
<path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" />
@@ -260,11 +260,11 @@
{%- set insurance = insurances[child.vars.value] ?? null -%}
{%- set urlsProductInfo = insurance is not null ? insurance.getAllUrlsProductInfo() : [] -%}
<div class="flex gap-2">
<div class="flex">
{{- form_row(child, { 'attr': child_attr }) -}}
{%- if urlsProductInfo is not empty -%}
<div class="flex flex-col justify-center" {{ stimulus_controller('tooltip') }}>
<div class="pt-px pl-1" {{ stimulus_controller('tooltip') }}>
<button type="button" data-tooltip-target="trigger" class="text-blue-600 hover:text-blue-800">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
<path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" />