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.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user