mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 23:44:11 +01:00
The caption under a recommended game card was left-aligned while the card title above it was centred. Centre the caption instead of left-aligning the title, so the change stays inside the recommendation feed rather than shifting every GameCard in the gallery, the similar-games grids and the match-ROM picker. Two things stood in the way of centring: - "Because you played X" never fit the cover width, so it filled the caption and could not centre. It now captions the seed game on its own, with a play icon, the way every facet reason is captioned; the full sentence moves to the title tooltip, so no locale keys change. - The ellipsis sat on the flex container, where it does nothing: an anonymous text run has no box to truncate, so an over-long caption was cut mid-word. It now lives on a real child span. Also nudge the reason icon onto the caption's optical centre. MDI glyphs centre on the em box, leaving them ~2px low against the text's cap height. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01427KQPf6WHJQ8feMKYp24Z