angular / angular/components

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

オープン
#4,591 コメント 18 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/tabs help wanted P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
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 のレイアウト動作を調査します。タブのコンテンツが固定ピクセル高さではなくパーセンテージを使ってグループの高さを埋められれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, css, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。