Skip to content

Commit

Permalink
Ajuste na proporção das imagens de notícias
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomoro committed May 12, 2022
1 parent c249ade commit db0e28c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sass/components/_noticia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
aspect-ratio: 1 / 1;
border-radius: $border-radius;
margin-bottom: 1rem;
object-fit: cover;
object-fit: contain;
}

&__titulo {
Expand Down Expand Up @@ -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;
}
}

Expand Down

0 comments on commit db0e28c

Please sign in to comment.