Simon Ferndriger
Simon Ferndriger

Reputation: 4962

Angular Cards Cut Off in Tabs

I ran into the problem, that the cards within a tab navigation in Angular Material were cut off.


enter image description here

Upvotes: 1

Views: 1177

Answers (1)

camden_kid
camden_kid

Reputation: 12813

It's because the md-tabs element on that site (URL is no longer available) does not have the attribute md-dynamic-height:

enter image description here

Taking the markup in your question I created a CodePen. If you remove that attribute you will see the problem you mention.

From the docs:

enter image description here

Upvotes: 2

Related Questions