Description of a category item does not change color on selection
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- frontend
调研方向
从 category-item 组件以及受 PR #1079 影响的样式开始,然后检查 iconClass 属性如何绑定到图标,以及 description p 元素如何设置样式。当选择一个项目时,图标和描述文本都会变为所选颜色,即表示工作完成。
由索引模型根据 Issue 内容生成。
描述
Problem
From https://github.com/code-corps/code-corps-ember/pull/1079#discussion_r102404681
The
descriptiontext is always using the$text--light(#666) color and does not switch to$default-color(#08A8FCwhen selected.
The PR introduced a minor bug. The iconClass is bound to the icon element alone and nothing is bound to the p element which holds the description. That means that the p.selected style can no longer apply.
The component itself should be bound to the iconClass class property and styles should be rewritten so they apply to both the icon and the p element.
- 主要语言
- JavaScript
- 星标
- 120
- 派生
- 75
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
code-corps/code-corps-ember 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
code-corps/code-corps-ember#1616 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
code-corps/code-corps-ember#1613 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
code-corps/code-corps-ember#1612 ·
-
Difficulty: Medium Skill: ember-cli-page-object
难度 2/5 1-3 小时 新手友好度 62/100
code-corps/code-corps-ember#1063 · 1 个 reaction ·
-
greenkeeper
难度 3/5 1-2 天 新手友好度 25/100
code-corps/code-corps-ember#1765 · 1 条评论 ·
查看 code-corps/code-corps-ember 的全部 Issue
相似的 Issue
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 75/100
open-webui/open-webui#30750 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100