Skip to content

Commit

Permalink
Merge pull request #990 from helsingborg-stad/fix/news-item-image-con…
Browse files Browse the repository at this point in the history
…tainer

fix: news item container
  • Loading branch information
NiclasNorin authored Dec 9, 2024
2 parents 3eba436 + b94e7cd commit c7a10c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/sass/component/_newsitem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ $c-newsitem-heading-color: var(--c-newsitem-heading-color, $color-primary) !defa
margin-top: 0;
}

.c-newsitem__image img {
height: 100%;
width: 100%;
.c-newsitem__image-container {
position: relative;
aspect-ratio: 16/9;
}

.c-newsitem__content {
Expand Down

0 comments on commit c7a10c9

Please sign in to comment.