Altered image overflow to retain original aspect ratio

This commit is contained in:
lukejelse04 2021-09-20 10:49:54 +01:00
parent 92427c2bed
commit 5d8346aa5d

View File

@ -36,8 +36,8 @@
</div>
</div>
<div class="card-body bg-warning col-md-6">
<img src="/images/MainImage.png" width="100%" height="100%">
<div class="card-body mh-100 bg-warning col-md-6">
<img src="/images/MainImage.png" width="100%" height="100%" style="object-fit: cover;">
</div>
</div>