diff --git a/.changeset/great-flies-clean.md b/.changeset/great-flies-clean.md new file mode 100644 index 0000000000..328ea6abe1 --- /dev/null +++ b/.changeset/great-flies-clean.md @@ -0,0 +1,5 @@ +--- +"@primer/view-components": patch +--- + +Tooltip: Update the threshold value to match with the offset diff --git a/app/components/primer/alpha/tool_tip.ts b/app/components/primer/alpha/tool_tip.ts index d7b13a1275..9d1d0357ea 100644 --- a/app/components/primer/alpha/tool_tip.ts +++ b/app/components/primer/alpha/tool_tip.ts @@ -117,7 +117,7 @@ class ToolTipElement extends HTMLElement { display: block; right: 0; left: 0; - height: 12px; + height: var(--overlay-offset, 0.25rem); content: ""; }