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:
Florian Schroedl
2026-03-03 12:03:29 +01:00
parent 398811305c
commit 5cb339e04b

View File

@@ -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);