Altered image overflow to retain original aspect ratio

This commit is contained in:
lukejelse04 2021-09-20 10:49:54 +01:00 committed by luke-else
parent 92ffda865c
commit c87a322dfb

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>