mirror of
https://github.com/we-promise/sure.git
synced 2026-08-05 08:32:15 +00:00
The four inline (non-DS::Tooltip) tooltips had drifted: three used p-2 rounded w-64, one used p-3 rounded w-72 with shadow-lg, and all used rounded (4px) where DS::Tooltip uses rounded-md (6px). Unify them on p-2 rounded-md w-64 — radius now matches DS::Tooltip and the lone p-3/w-72/shadow-lg outlier is gone, so the dark tooltips read consistently.
12 lines
448 B
Plaintext
12 lines
448 B
Plaintext
<div data-controller="tooltip" data-tooltip-cross-axis-value="50">
|
|
<div class="flex items-center gap-1 text-warning">
|
|
<%= icon "info", size: "sm", color: "current" %>
|
|
<%= tag.span t(".missing_data"), class: "font-normal text-xs" %>
|
|
</div>
|
|
<div role="tooltip" data-tooltip-target="tooltip" class="tooltip bg-inverse text-sm p-2 rounded-md w-64">
|
|
<div class="text-inverse">
|
|
<%= t(".description") %>
|
|
</div>
|
|
</div>
|
|
</div>
|