From 5cb339e04be72faff9348945367b17d72b4c4259 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 3 Mar 2026 12:03:29 +0100 Subject: [PATCH] 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. --- src/ui/tooltip.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/tooltip.css b/src/ui/tooltip.css index 9ad5371..870196a 100644 --- a/src/ui/tooltip.css +++ b/src/ui/tooltip.css @@ -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);