From 179eb17da9093af352c2fa64dd4394c04574d928 Mon Sep 17 00:00:00 2001 From: fen Date: Thu, 10 Sep 2026 11:58:41 -0500 Subject: [PATCH] Fix #169: persistent full-width divider between dropdown title and body The can page 'Show content' dropdown had no divider between the summary title and the body; the only line-like artifact appeared hover-dependent (the stats header hover background edge). Per the owner follow-up, the divider between a dropdown title and its body must be persistent (not hover dependent) and extend the full width of the card left and right. can page: .can-item-body[open] summary now carries a permanent 1px var(--border) bottom rule spanning the full card width via negative margins matching the card padding, plus matching bottom padding. --- internal/web/static/app.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/web/static/app.css b/internal/web/static/app.css index a23f887..247eda1 100644 --- a/internal/web/static/app.css +++ b/internal/web/static/app.css @@ -651,6 +651,13 @@ a.admin-link:hover { color: var(--fg); text-decoration: underline; } .can-item-head strong { flex: 1; word-break: break-all; } .can-item-body { margin-top: 8px; } .can-item-body summary { cursor: pointer; font-size: 19px; color: var(--muted, #888); } +/* #169: divider between the dropdown title and body must be persistent + (not hover dependent) and extend the full width of the card left and right */ +.can-item-body[open] summary { + border-bottom: 1px solid var(--border); + margin: 0 -14px 8px; + padding: 0 14px 8px; +} .can-item-body pre.code { margin: 8px 0 0; overflow-x: auto; } .can-item-row { margin-top: 8px; } .can-item-row .can-item-title { width: 100%; margin-bottom: 6px; }