We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324fe1d commit 84fb69cCopy full SHA for 84fb69c
src/lib/components/LabelWithTooltips.svelte
@@ -20,7 +20,7 @@
20
<Tooltip
21
type="auto"
22
triggeredBy="#{tooltipId}"
23
- class={`max-w-[${tooltipWidth}px] ${TOOLTIP_CLASS_BASE}`}
+ class={`[--tooltip-width:${tooltipWidth}px] max-w-[var(--tooltip-width)] ${TOOLTIP_CLASS_BASE}`}
24
>
25
{#if typeof tooltipContents === 'string'}
26
{tooltipContents}
0 commit comments