Skip to content

Conversation

@AyushMhaisane
Copy link

The Problem: On project cards with open issues, the "Go to Project" button was unresponsive. This was caused by the entire card being wrapped in an tag, while the IssueList component also contained tags. Browsers do not support nested links, causing the HTML to break.

The Fix: I refactored ProjectCard.astro to remove the outer wrapper. I moved the project link specifically to the Header and the "Go to Project" button separately. This ensures valid HTML structure and allows the button to work even when issues are displayed.

Testing: Verified locally that:

The "Go to Project" button works on cards with issues.

The header remains clickable.

The issue links themselves still function correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant