prathameshgaikwad/Innings

Fix Match Card component's Link element

オープン

#49 opened on 2024/08/11

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (10 件のフォーク)auto 404
bugfrontendgood first issue

Repository metrics

Stars
 (6 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド