From 50cf3ad697dc4e0a0dfd8b780074058dfedd1d33 Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 10 Sep 2026 14:17:13 -0500 Subject: [PATCH] Fix #222: remove double border on details pill that pinched at corners The stats-pill sat directly inside a .float wrapper with zero padding, so its own 1px border stacked at the same pixels as the wrapper's border and the wrapper's larger border-radius + overflow:hidden clipped the pill's arc, pinching the stroke thin at the corners. Drop the redundant inner border/radius and let the float frame the pill, as with every other padded float. All other pills were unaffected. --- internal/web/static/app.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index c96034b..9a59f94 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -216,7 +216,10 @@ body { .tag { font-size: 19.8px; color: var(--muted-fg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 9px; } .paste-title-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; flex-wrap: wrap; } .paste-title-bar h1 { font-size: 29.2px; font-weight: 600; margin: 0; word-break: normal; overflow-wrap: anywhere; } -.stats-pill { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } +/* #222: the float wrapper already draws the border/radius/overflow clip; a second + inner border at the same pixels gets clipped by the wrapper's larger radius and + pinches thin at the corners — keep the pill borderless and let the float frame it. */ +.stats-pill { border: 0; border-radius: 0; overflow: hidden; } .stats-head { display: flex; align-items: center; gap: 16px; width: 100%; background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--muted-fg); font: inherit; font-size: 21.6px; padding: 14px 18px; cursor: pointer; text-align: left; } .stats-head:hover { color: var(--fg); background: var(--surface-2); } .stats-chev { width: 18px; height: 18px; flex: none; transition: transform 0.15s ease; }