AngularJS Material Tab height issue

后端 未结 4 1248
情歌与酒
情歌与酒 2021-02-19 00:54

I\'m having some troube figuring things out with AngularJS Material, I was wondering if anyone knew why the folling piece of code:



         


        
4条回答
  •  北荒
    北荒 (楼主)
    2021-02-19 01:24

    I don't think the layout-fill will work as you intend in this case because the md-tab specifies a header and content, whereas I think you want the content to expand to fill the parent.

    You might want to try adding the md-dynamic-height option to the md-tabs directive which should force angular-material to set a consistent height to the tab(s).

提交回复
热议问题