Skip to content

Commit 6fe410b

Browse files
Tooltip: Update the threshold value to match with the offset (#2733)
1 parent c0ee58b commit 6fe410b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/great-flies-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/view-components": patch
3+
---
4+
5+
Tooltip: Update the threshold value to match with the offset

app/components/primer/alpha/tool_tip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class ToolTipElement extends HTMLElement {
117117
display: block;
118118
right: 0;
119119
left: 0;
120-
height: 12px;
120+
height: var(--overlay-offset, 0.25rem);
121121
content: "";
122122
}
123123

0 commit comments

Comments
 (0)