按钮应该有 width 和 height 属性
Open
- Dominant language
- HTML
- Stars
- 201
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
现在的 `button` 对象无法设置 height 和 width,非常不便于文字和按钮混排、多个按钮混排时准确排版。
考虑到 `path` 对象支持 height 和 width,还能绘制复杂形状,如果能给 `path` 增加 `target` 属性,实现类似于按钮的效果就更好了。
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue identifies the button and path objects but names no implementation files or tests. Start by locating those object definitions and their existing sizing or target handling, then clarify whether completion requires button width and height, path targets, or both, along with corresponding coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100