Home feature cards still show link underlines
维护者通常 1 天内回复
评估
- 难度
- 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 内容生成。
描述
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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
IntersectMBO/developer-experience 的其他 Issue
-
Site asks for Poppins but only loads Inter可能已有人在做 @IanoNjuguna 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
IntersectMBO/developer-experience#325 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Canonical URL is the homepage on every page可能已有人在做 @IanoNjuguna 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
IntersectMBO/developer-experience#324 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Community metrics can silently go stale: updatedAt is never rendered and a failed fetch keeps old numbers可能已有人在做 @IanoNjuguna 今天认领。 未关闭enhancement
IntersectMBO/developer-experience#327 · 已指派 1 人 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 3/5 1-2 天 新手友好度 70/100
IntersectMBO/developer-experience#302 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 58/100
IntersectMBO/developer-experience#301 ·
维护者通常 1 天内回复
查看 IntersectMBO/developer-experience 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 76/100
homarr-labs/homarr#7191 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
AvaProtocol/ava-sdk-js#276 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
apollographql/apollo-client#13493 ·
维护者通常 1 天内回复