diff --git a/assets/css/styles.css b/assets/css/styles.css index 348e287..09e43fa 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -71,11 +71,15 @@ footer a:hover { .card-img-container { position: relative; overflow: hidden; - height: 150px; + height: 0; + padding-bottom: 100%; background-color: var(--mh-dark); } .card-img-top { + position: absolute; + top: 0; + left: 0; width: 100%; height: 100%; object-fit: cover;