fix(images): pair-linked cards take the positive's title; concept Info, alt and size

- Pair links title the card, inspector and viewer from the linked positive's
  Library title or confirmed first line, never the pair title (the negative
  variant's name). The card now equals the concept card, title included.
- Info drops aria-pressed; the card's .selected carries selection, as in the
  concept.
- Card images take the card title as alt and the listing's width/height.
- One shared minimum card width for layout and the narrow-card class.
- A debounced search that lands after a sort change no longer reloads page 1.
- 200% zoom test also runs at an 800px viewport and device scale 2.

Refs #249
This commit is contained in:
Vito Sansevero
2026-10-20 04:47:43 -07:00
parent 831368a600
commit d3e2e6c47c
10 changed files with 146 additions and 40 deletions
+3 -1
View File
@@ -278,7 +278,9 @@ def _empty_link_summary(status: str) -> Dict[str, Any]:
def _link_summary(row: tuple) -> Dict[str, Any]:
if row[7] is not None:
positive, text, category, rating = row[7], row[9], row[10], row[11]
titles = (row[8], row[12])
# The linked positive's Library title (D10/D20); the pair's own title
# names its negative variant, so it never titles the card.
titles = (row[12],)
else:
positive, text, category, rating = row[2], row[3], row[4], row[5]
titles = (row[6],)