I’ve just started using ionic, and I’ve noticed that cards are very nicely designed. I was just wondering though how I’d go about making sure that the height of cards always match that of the content height.
<div class="card" style="height:100%"> <div class="item item-text-wrap"> This is a basic Card which contains an item that has wrapping text. </div> </div>
I’ve tried taking the html from the css overview and placing height:100% on the card div (like above), but that doesn’t seem to stretch the card to the height of the content.