Responsive Images in Bootstrap 4, with class .img-fluid are resized disproportionally. They keep it\'s height even width is shrinking down correctly. That is deforming whole
Actually height:auto
did not work for me, but height:100%
worked like a champ.
just logged in to share this super quick, and hopefully minimal changing fix
in you style, simply set min-height to 1px or 1rem
<head>
...
<style>
.ieFix
{
min-height:1px;
}
</style>
</head>
<body>
<div class="card text-center">
<img src="..." class="card-img-top ieFix" alt="...">
<div class="card-body">
<h5 class="card-title">...</h5>
<p class="card-text">...</p>
<p class="card-text post-meta"...</p>
</div>
</div>
</body>
Have confirmed this works and nothing changes on Chrome in mobile phone and tablet screens.