From d829a262a39ef553e18fea2af047b78e831f8906 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 25 Oct 2026 21:55:43 +0800 Subject: [PATCH] style: center tag tap targets without overlapping neighbours Each tag's tap area overlapped the next tag's and, with both insets plus min-height set, grew downward only, sitting off-center. Co-Authored-By: Claude --- website/static/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/static/style.css b/website/static/style.css index 3923677a..02ea3e79 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -1246,12 +1246,12 @@ th[data-sort].sort-asc::after { margin-left: 0.2rem; } +/* A 44px-tall target centered on the pill, kept clear of the neighbouring tags */ .tag::after { content: ""; position: absolute; - inset: -0.5rem -0.25rem; - min-height: 44px; - min-width: 44px; + inset-block: calc((100% - 44px) / 2); + inset-inline: -0.1rem; } .tag:hover {