angular / angular/components

feat(slider): Introduce token for slider height

未关闭
#31,101 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Feature Description

Currently slider component has hard-coded height of 48px. In our app we need 34px height (we are replacing jquery slider control with material slider).
We cannot simply change the height of the component since internal elements (i.e. thumb) depend on the component height.
Thereby please expose the token that can be used to change height of the slider component.

### Use Case

Expose token to customize height of slider component.

贡献指南

打开贡献指南

调研方向

首先定位 Angular Material slider 组件的实现,以及其中针对硬编码 48px 高度的样式或 token 定义。确认 thumb 和其他内部元素如何依赖该高度,然后验证是否可以通过 token 设置 34px 的 slider,同时不破坏这些元素。

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

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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