mat-menu-item width
未关闭
area: material/menu
feature
P4
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### Feature Description
I would like to set the width of the mat-menu-item to the same with as the button wich opens the menu.
#### Use Case
I have a menu and a larger button open button. It would look so much better if the mat-menu-item has the same width as the button. Actually there is no simple option.
贡献指南
调研方向
定位 mat-menu-item 和 menu 的实现及其现有测试,然后阅读菜单宽度和触发器尺寸的处理方式。完成标准是:某个受支持的选项能够使菜单项宽度与打开菜单的按钮宽度一致,并且测试覆盖所请求的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- design, frontend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100