Open a result by clicking anywhere on its card
Drop the Open button: the title's hit area now covers the whole card, with Retry kept on top so it doesn't open the preview. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,10 +132,7 @@ function ContentCard({ material: m, onOpen }: { material: Material; onOpen: () =
|
||||
<span title={describeRule(m.rule)}>{describeRule(m.rule)}</span>
|
||||
{working
|
||||
? <span>{m.video ? t('res.videoProgress', { n: m.video.progress }) : t('res.working')}</span>
|
||||
: <div className="content-card-actions">
|
||||
{m.retry && <RetryButton material={m} className="text-btn" />}
|
||||
<button className="text-btn" onClick={onOpen}>{t('res.open')} <Icon name="arrow-right" /></button>
|
||||
</div>}
|
||||
: m.retry && <div className="content-card-actions"><RetryButton material={m} className="text-btn" /></div>}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user