From db0e28cc0cee69f90cf6ed270557f58cd1a61f69 Mon Sep 17 00:00:00 2001 From: Ricardo Moro Date: Thu, 12 May 2022 14:37:50 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20na=20propor=C3=A7=C3=A3o=20das=20image?= =?UTF-8?q?ns=20de=20not=C3=ADcias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/components/_noticia.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/components/_noticia.scss b/sass/components/_noticia.scss index af39ce9..b3e268c 100644 --- a/sass/components/_noticia.scss +++ b/sass/components/_noticia.scss @@ -29,7 +29,7 @@ aspect-ratio: 1 / 1; border-radius: $border-radius; margin-bottom: 1rem; - object-fit: cover; + object-fit: contain; } &__titulo { @@ -79,11 +79,11 @@ &_destaque { #{$n}__img { @include media-breakpoint-up(lg) { - aspect-ratio: 4 / 3; float: left; margin-bottom: 0; margin-right: 1rem; width: 40%; + object-position: top; } }