fix(tooltip): close gap between arrow and tooltip box
The triangle's `bottom` offset was too large, leaving a visible gap (and 1px sub-pixel seam) between the arrow and the tooltip body. Changed from `calc(100% - 5px)` to `calc(100% - 1px)` so the arrow slightly overlaps the box, eliminating the gap.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
.tooltip::before {
|
||||
content: "";
|
||||
bottom: calc(100% - 5px);
|
||||
bottom: calc(100% - 1px);
|
||||
transform: translateX(-50%) translateY(4px);
|
||||
border: 6px solid transparent;
|
||||
border-top-color: var(--fg-0);
|
||||
|
||||
Reference in New Issue
Block a user