angular / angular/components

[Tabs] Md-tab height: 100% does not give all height of group

未關閉
#4,591 18 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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

//with % not work, with px works

```
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。