[Tabs] Md-tab height: 100% does not give all height of group
未关闭
area: material/tabs
help wanted
P4
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
Hi,
I'm having problems to adjust content of a tab to 100% of height of md-tab-group
For example:
```
// this works all bk is blue
//not work
```
My problem is that `md-tab-group` expands his `height` to total of `height`. But the atribute `height` of `md-tab` doesn't fit to 100% of `md-tab-group`.
Because of that the content, even if I set the height to 100% it doesn't fit to 100% of `height`
If I set thet `height` attribute of the `
` to for example 500px it works correctly
I have this problem since I added `` to my index.html
Versions: Beta.5
Angular 4
What would be doing wrong?
贡献指南
调研方向
首先,使用 HTML doctype 和 Beta.5 Angular setup 重现 index.html 中的示例。检查 md-tab-group 和 md-tab 在百分比高度下的布局行为;当 tab 内容可以使用百分比而不是固定的像素高度来填充 group 的高度时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, css, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100