Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Home feature cards still show link underlines

未关闭 适合新手
#323 1 条评论 1 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@IanoNjuguna 已经在做这个了。

开始于 2026年10月14日。

  • #332 来自 @IanoNjuguna —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
css, react, typescript
领域
frontend

调研方向

阅读 website/src/components/HomepageFeatures/index.tsx 和 website/src/components/HomepageFeatures/styles.module.css,确认卡片链接类是如何应用的。将 CSS 模块类传给 Link,或按建议调整规则。当鼠标悬停在首页卡片上时不显示下划线,且抬升和边框样式保持不变,即为完成。

由索引模型根据 Issue 内容生成。

描述

bug

Problem

The three cards on the homepage are links. On hover, the browser underline still appears through the title and description.

website/src/components/HomepageFeatures/index.tsx sets className="featureCardLinks" as a plain string. The rule that removes the underline lives in the CSS module website/src/components/HomepageFeatures/styles.module.css as .featureCardLinks:hover. That class is hashed, so it never matches the element.

Expected

Hovering a homepage card does not add an underline. The card lift and border styles stay as they are.

Suggested fix

Pass the CSS module class (styles.featureCardLinks) on the Link, or move the underline reset to a global rule that the current class name actually hits.

Checks

  • I searched existing issues and discussions
  • This is not a duplicate of #185 or #217
主要语言
TypeScript
星标
13
派生
22
平均合并
2 天 4 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

IntersectMBO/developer-experience 的其他 Issue

查看 IntersectMBO/developer-experience 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。