From cc452e575aece6c0593ef1a3490452eedcb273cb Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Mon, 19 Oct 2026 23:07:47 +0100 Subject: [PATCH] web: keep the selected list row's surface on hover Re-tinting a selected chat (or any list) row under the pointer read as an inner highlight inside the selected state; the selected surface now wins. --- web/base.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/base.css b/web/base.css index ad73c53c..25e67957 100644 --- a/web/base.css +++ b/web/base.css @@ -88,6 +88,10 @@ a { color: var(--color-accent); } .row:last-child { border-bottom: 0; } .row:hover { background: var(--tint-hover); } .row.selected { background: var(--tint-selected); box-shadow: inset 3px 0 0 var(--color-accent); } +/* A selected row keeps its selected surface while hovered: re-tinting it made + the chat list's chosen session flicker with an inner highlight under the + pointer. */ +.row.selected:hover { background: var(--tint-selected); } .row-head { display: flex; gap: var(--space-xs); justify-content: space-between; align-items: center; min-width: 0; } .row-title { display: block; max-width: 100%; font-weight: var(--weight-semibold); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .row-meta { display: block; color: var(--color-muted); font-size: 12px; line-height: 16px; margin-top: 2px; }