prathameshgaikwad/Innings

Fix Match Card component's Link element

开放

#49 创建于 2024年8月11日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (10 个派生)auto 404
bugfrontendgood first issue

仓库指标

星标
 (6 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Describe the bug Currently, the Link wrapper around the Match Card stretches out to occupy the entire available horizontal space. This makes the link accessible (hoverable & clickable) even outside the card content.

To Reproduce Steps to reproduce the behavior:

  1. Go to Home Page, or a particular Tournament page.
  2. See the error on the Match Card.

Expected behavior The Link element must span the entire width of the Match Card, and it must not overflow it.

Screenshots

https://github.com/user-attachments/assets/2da16639-6623-430a-95ce-7bcbdefce922

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Microsoft Edge

Additional context The relevant component can be found under client/src/components/cards/MatchCard.

贡献者指南