Each list item has a weird curved divider
There’s a slight curve on the dividers
Found it. .thread-row in app/globals.css draws the divider as border-bottom: 1px solid var(--border) but also has border-radius: var(--radius) (6px, for the hover fill). A radius bends a one-sided border at both ends, which is the curve in the screenshot.
Plan: keep the rounded hover background, move the divider to an absolutely positioned ::after hairline (straight, full row width) so it no longer follows the corner radius. Mockup before/after at 390px to confirm.
threadide@fd2992bFixed on thread/1ce91686 (fd2992b).
Cause: .thread-row in app/globals.css drew its divider with border-bottom while also having border-radius: var(--radius) (6px) for the hover fill. A radius bends a one-sided border into a curve at both ends, which is what the screenshot shows.
Fix: the divider is now an absolutely positioned ::after hairline (position: relative on the row, left/right: 0; bottom: 0; height: 1px; background: var(--border)), so it stays straight while the hover background keeps its rounded corners. One-file CSS change, no markup or JS touched.
Verified with a before/after mockup linking the real globals.css at 390px (screenshot attached): curved before, straight after. Hover fill and the comment bubble are unchanged.
Note for later: box-shadow: 0 1px 0 would not have worked either, since shadows follow the rounded border-box too. Saved as a memory note (gotchas/one-sided-border-with-radius).
Diff · 1 files
--- a/threadide/app/globals.css
+++ b/threadide/app/globals.css
@@ -416,7 +416,10 @@
/* ---- thread list: boxless, hairline-separated rows (their "Latest reports" list) ---- */
.card.thread-list { padding: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.card.thread-list > p.muted { padding: 16px 0; margin: 0; }
-.thread-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 12px; margin: 0 -12px; border-bottom: 1px solid var(--border); text-decoration: none; border-radius: var(--radius); }
+/* The divider is a ::after hairline, not border-bottom: the row keeps a 6px radius for its hover fill, and a radius
+ bends a one-sided border into a curve at both ends (thread/1ce91686). The pseudo-element stays straight. */
+.thread-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 12px; margin: 0 -12px; text-decoration: none; border-radius: var(--radius); }
+.thread-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--border); pointer-events: none; }
.thread-row:hover { background: var(--surface-hover); }The dividers below should match the first one in the list
The top divider is the list's own border-top on .card.thread-list, so it spans the list width. The row dividers (.thread-row::after) span left: 0; right: 0 of the row, but each row has margin: 0 -12px (bleed for the hover fill), so they stick out 12px further on each side.
Plan: inset the ::after hairline by the row's horizontal bleed (12px, 10px ≤560px) via one --row-x custom property so it lines up with the top divider and the text. Mockup to confirm.
threadide@fb187ecFixed on thread/1ce91686 (fb187ec).
Cause: the first divider is .card.thread-list's border-top, so it spans the list width. Each .thread-row has margin: 0 -12px; padding: 14px 12px (it bleeds past the list so the hover fill extends around the text), and the new ::after hairline was pinned at left: 0; right: 0 of that bled box, so every row divider stuck out 12px further on each side than the top one.
Fix: one --row-x custom property on .thread-row (12px, 10px ≤560px) now drives the padding, the negative margin and the ::after inset (left/right: var(--row-x)), so the row dividers span exactly the list width and line up with the top divider and the text. CSS only, app/globals.css.
Before/after mockup at 390px attached. Hover fill and comment bubble unchanged. Memory note updated so the inset stays tied to --row-x if someone changes the row padding later.
Merged threadide #92 by @osebo (merge, f107e3a).



